20251220_031018.620 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.621 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251220_031018.621 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.621 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251220_031018.621 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.625 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251220_031018.626 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.626 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.626 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.627 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.627 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.635 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.636 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.636 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.636 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC42MzZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzU3MTIwODAtMjdkMS00OWI5LTkyMzMtZDJjOTQ1MjgwOGYyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.637 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.636Z", "action": "gathered", "update_id": "75712080-27d1-49b9-9233-d2c9452808f2", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.637 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.636Z", "action": "gathered", "update_id": "75712080-27d1-49b9-9233-d2c9452808f2", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.637 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.638 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.636Z", "action": "gathered", "update_id": "75712080-27d1-49b9-9233-d2c9452808f2", "policies_count": 4}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.638 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/"}}] 20251220_031018.638 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.638 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.639 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.636Z", "action": "gathered", "update_id": "75712080-27d1-49b9-9233-d2c9452808f2", "policies_count": 4}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.639 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.654 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.654 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.655 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.655 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC42NTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjU0YzgxMjYtNGExZS00MzAwLThlYzAtZDJiOGE3ZWFkYzVlIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.656 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.655Z", "action": "gathered", "update_id": "f54c8126-4a1e-4300-8ec0-d2b8a7eadc5e", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.656 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.655Z", "action": "gathered", "update_id": "f54c8126-4a1e-4300-8ec0-d2b8a7eadc5e", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.656 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.656 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.656 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}} 20251220_031018.656 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}} 20251220_031018.657 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}} 20251220_031018.657 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}} 20251220_031018.657 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}} 20251220_031018.657 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.657 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}} 20251220_031018.657 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.666 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 20251220_031018.666 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.670 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.672 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.672 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.672 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC42NzJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzRkZWYxMWQtM2Y2ZC00N2E5LTliNmQtZDc0NmM0NTBmMGQ1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.673 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.672Z", "action": "gathered", "update_id": "c4def11d-3f6d-47a9-9b6d-d746c450f0d5", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.673 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.672Z", "action": "gathered", "update_id": "c4def11d-3f6d-47a9-9b6d-d746c450f0d5", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.673 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.673 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}] 20251220_031018.673 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.674 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.672Z", "action": "gathered", "update_id": "c4def11d-3f6d-47a9-9b6d-d746c450f0d5", "policies_count": 4}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.674 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.674 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}} 20251220_031018.675 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC42NzVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIwZTUxZDI1Yy05Y2Y2LTQxNzctYjNkNS04MzdiNDVhNDkzZGIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.675 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.676 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.675Z", "action": "updated", "update_id": "0e51d25c-9cf6-4177-b3d5-837b45a493db", "policies_count": 4}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251220_031018.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.676 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.677 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}} 20251220_031018.677 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.677 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}} 20251220_031018.677 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.692 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251220_031018.693 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.693 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251220_031018.693 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.693 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.694 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.694 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.701 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.702 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.703 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.703 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43MDNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmUyZTNhMjctYmZhMy00YTZiLTkyOWQtMWY2ZDZhYzYwMTAzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.703 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.703Z", "action": "gathered", "update_id": "be2e3a27-bfa3-4a6b-929d-1f6d6ac60103", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.704 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.703Z", "action": "gathered", "update_id": "be2e3a27-bfa3-4a6b-929d-1f6d6ac60103", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.704 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.704 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.712 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.712 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.712 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.713 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.713 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20251220_031018.713 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251220_031018.713 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.718 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.719 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.719 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.719 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDU2YzAxMGItNjE1Ni00NDczLTk2NzUtNDBhYTI5Y2VjZTliIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.720 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.719Z", "action": "gathered", "update_id": "456c010b-6156-4473-9675-40aa29cece9b", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.720 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.719Z", "action": "gathered", "update_id": "456c010b-6156-4473-9675-40aa29cece9b", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.720 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.721 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.719Z", "action": "gathered", "update_id": "456c010b-6156-4473-9675-40aa29cece9b", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.721 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251220_031018.722 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251220_031018.722 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43MjJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0MWJjYzY5ZS0yY2EwLTQxZjAtOGQ4ZS1iOTkwYWYzNzBmY2YiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251220_031018.722 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.723 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.722Z", "action": "updated", "update_id": "41bcc69e-2ca0-41f0-8d8e-b990af370fcf", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.723 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20251220_031018.723 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.722Z", "action": "updated", "update_id": "41bcc69e-2ca0-41f0-8d8e-b990af370fcf", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}} 20251220_031018.723 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.737 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.737 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.737 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.737 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.738 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20251220_031018.738 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251220_031018.738 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.743 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.744 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.744 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.744 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43NDRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjYyZTEyYTAtM2EzNC00NmUzLTk2NzAtM2FhYTlkMjI2YzUwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.745 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.744Z", "action": "gathered", "update_id": "262e12a0-3a34-46e3-9670-3aaa9d226c50", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.745 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.744Z", "action": "gathered", "update_id": "262e12a0-3a34-46e3-9670-3aaa9d226c50", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.745 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.746 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.744Z", "action": "gathered", "update_id": "262e12a0-3a34-46e3-9670-3aaa9d226c50", "policies_count": 4}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.746 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/"}}] 20251220_031018.746 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.746 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.746 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.744Z", "action": "gathered", "update_id": "262e12a0-3a34-46e3-9670-3aaa9d226c50", "policies_count": 4}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.747 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.760 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251220_031018.761 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.761 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251220_031018.761 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.761 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.762 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.762 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.769 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.769 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) 20251220_031018.769 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) 20251220_031018.769 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.773 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.774 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.775 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.775 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43NzVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDFkZTE4MzEtODE3Zi00MTJkLTljNDYtNTg2MWU4OWQ4NDNjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.775 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.775Z", "action": "gathered", "update_id": "01de1831-817f-412d-9c46-5861e89d843c", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.776 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.775Z", "action": "gathered", "update_id": "01de1831-817f-412d-9c46-5861e89d843c", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.776 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.776 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": ["damaged config"]}}] 20251220_031018.776 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.777 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.775Z", "action": "gathered", "update_id": "01de1831-817f-412d-9c46-5861e89d843c", "policies_count": 4}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.777 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": ["damaged config"]}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.777 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}}}} 20251220_031018.777 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43NzdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjNGJjOTlkOC0wYmFlLTQ1MWUtOGFlMy01MGVlMjZlMzQyZjAiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.778 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.778 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.777Z", "action": "updated", "update_id": "c4bc99d8-0bae-451e-8ae3-50ee26e342f0", "policies_count": 4}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": ["damaged config"]}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}}} 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": ["damaged config"]}} 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}} 20251220_031018.779 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.780 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}} 20251220_031018.780 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.795 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.796 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.796 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.797 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43OTZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmZiMWU1ZWYtZjUwNS00ZTg2LWI2OWItNTVhNGM1NmQwOTNhIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.797 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.796Z", "action": "gathered", "update_id": "bfb1e5ef-f505-4e86-b69b-55a4c56d093a", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.797 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.796Z", "action": "gathered", "update_id": "bfb1e5ef-f505-4e86-b69b-55a4c56d093a", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.797 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.798 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.796Z", "action": "gathered", "update_id": "bfb1e5ef-f505-4e86-b69b-55a4c56d093a", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.798 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251220_031018.799 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251220_031018.799 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC43OTlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjZjgxZDA1OC03Yjk3LTRiYjYtYWUxMy1iMzU2YjBmMjUyYWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251220_031018.799 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.800 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.799Z", "action": "updated", "update_id": "cf81d058-7b97-4bb6-ae13-b356b0f252ad", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.800 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}] 20251220_031018.800 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.801 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.799Z", "action": "updated", "update_id": "cf81d058-7b97-4bb6-ae13-b356b0f252ad", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.801 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.801 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}} 20251220_031018.801 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44MDFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiMzZjZmRhMi0xZDQ1LTQzODYtYTY1NC1kODAzNGI2Y2YxOTkiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.802 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.802 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.801Z", "action": "updated", "update_id": "b36cfda2-1d45-4386-a654-d8034b6cf199", "policies_count": 2}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.802 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251220_031018.802 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.803 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.803 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.823 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251220_031018.823 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.823 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/"}}] 20251220_031018.823 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.824 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.824 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.824 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.832 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.833 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.833 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.833 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44MzNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOGEwYzgwMGEtYmE0YS00MWU1LWJhZGYtZDAxYjJjMTNmZGU0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.834 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.833Z", "action": "gathered", "update_id": "8a0c800a-ba4a-41e5-badf-d01b2c13fde4", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.834 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.833Z", "action": "gathered", "update_id": "8a0c800a-ba4a-41e5-badf-d01b2c13fde4", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.834 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.834 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.835 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}] 20251220_031018.835 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.833Z", "action": "gathered", "update_id": "8a0c800a-ba4a-41e5-badf-d01b2c13fde4", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.836 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}}}}, removed_policies: ["<<>>"] 20251220_031018.836 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}} 20251220_031018.836 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}]} 20251220_031018.836 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.833Z", "action": "gathered", "update_id": "8a0c800a-ba4a-41e5-badf-d01b2c13fde4", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.837 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.833Z", "action": "gathered", "update_id": "8a0c800a-ba4a-41e5-badf-d01b2c13fde4", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.837 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.837 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.837 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.854 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.854 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) 20251220_031018.854 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) 20251220_031018.854 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.858 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251220_031018.859 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.859 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/"}}] 20251220_031018.859 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.859 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.860 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.860 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.868 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.868 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.869 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.869 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44NjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiM2Q5OGNmY2UtOTA5Ni00NTY4LWFmMWYtYWI5Y2EwMmY0ZDkwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.869 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.869Z", "action": "gathered", "update_id": "3d98cfce-9096-4568-af1f-ab9ca02f4d90", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.870 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.869Z", "action": "gathered", "update_id": "3d98cfce-9096-4568-af1f-ab9ca02f4d90", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.870 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.870 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}] 20251220_031018.870 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.871 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.869Z", "action": "gathered", "update_id": "3d98cfce-9096-4568-af1f-ab9ca02f4d90", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.871 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.871 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}} 20251220_031018.871 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44NzFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxNzhlNjFkOS1kZmE5LTQ4NzItYjllNS0yMzE3MmVhYjRlZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.872 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.872 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.871Z", "action": "updated", "update_id": "178e61d9-dfa9-4872-b9e5-23172eab4eed", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.873 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251220_031018.873 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.873 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.873 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.873 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}} 20251220_031018.874 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.874 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}} 20251220_031018.874 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.889 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.890 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.890 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.891 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44OTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZTAxZDgzYWYtZTA2ZS00OTkwLThmOWQtNTEwMTJiMGExZjFiIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.891 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.891Z", "action": "gathered", "update_id": "e01d83af-e06e-4990-8f9d-51012b0a1f1b", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.891 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.891Z", "action": "gathered", "update_id": "e01d83af-e06e-4990-8f9d-51012b0a1f1b", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.892 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.892 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}] 20251220_031018.892 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.892 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.891Z", "action": "gathered", "update_id": "e01d83af-e06e-4990-8f9d-51012b0a1f1b", "policies_count": 4}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.893 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.893 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}} 20251220_031018.893 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC44OTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2NjJlNWVjZi00MDQ3LTQxYjAtYWJjYi02YTFmZTViNmIyMWYiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.894 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.894 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.893Z", "action": "updated", "update_id": "662e5ecf-4047-41b0-abcb-6a1fe5b6b21f", "policies_count": 4}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.894 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}} 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}} 20251220_031018.895 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}} 20251220_031018.895 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.911 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.912 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.913 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.913 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC45MTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzM2NWEyZjUtMGI1OC00M2Q4LThkMjUtZjJmZTEyNmQ1MTlmIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.913 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.913Z", "action": "gathered", "update_id": "7365a2f5-0b58-43d8-8d25-f2fe126d519f", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.914 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.913Z", "action": "gathered", "update_id": "7365a2f5-0b58-43d8-8d25-f2fe126d519f", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.914 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.914 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.913Z", "action": "gathered", "update_id": "7365a2f5-0b58-43d8-8d25-f2fe126d519f", "policies_count": 4}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.914 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251220_031018.915 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251220_031018.915 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC45MTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjNGM4MDYzYS02MDIzLTRkNzgtODk1ZS1iZTNiNjMzZTAzNjAiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251220_031018.915 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.916 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.915Z", "action": "updated", "update_id": "c4c8063a-6023-4d78-895e-be3b633e0360", "policies_count": 0}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.916 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251220_031018.916 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}] 20251220_031018.916 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251220_031018.917 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.915Z", "action": "updated", "update_id": "c4c8063a-6023-4d78-895e-be3b633e0360", "policies_count": 0}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.917 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251220_031018.917 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}} 20251220_031018.918 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC45MTdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJkMjY4MjBmYi1mNWI4LTQ4MDktOTgzYi0xOTA1MjAyZmVkYzEiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNDoxMDoxOC41OThaIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251220_031018.918 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.919 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.917Z", "action": "updated", "update_id": "d26820fb-f5b8-4809-983b-1905202fedc1", "policies_count": 2}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.919 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251220_031018.919 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.919 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}} 20251220_031018.919 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.940 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.941 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.941 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.941 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC45NDFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZmVmYzQ2ODYtMjdmOS00MjY1LWIyNTItNDdiN2IyY2RlM2QwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDM6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjBUMDY6MTA6MTguNTk4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTIwVDA0OjEwOjE4LjU5OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yMFQwNjoxMDoxOC41OThaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251220_031018.942 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.941Z", "action": "gathered", "update_id": "fefc4686-27f9-4265-b252-47b7b2cde3d0", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.942 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.941Z", "action": "gathered", "update_id": "fefc4686-27f9-4265-b252-47b7b2cde3d0", "policies_count": 4}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}} 20251220_031018.942 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}} 20251220_031018.942 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.941Z", "action": "gathered", "update_id": "fefc4686-27f9-4265-b252-47b7b2cde3d0", "policies_count": 4}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-20T04:10:18.598Z", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-12-20T06:10:18.598Z", "updated_policy_id": "monkeyed.Config_both"}}}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.943 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251220_031018.943 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251220_031018.943 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0yMFQwMzoxMDoxOC45NDNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5MGU1MDhkZC1kYzhiLTQyZTMtOGM5Yy1kYTk5YzAyNDc3NGIiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251220_031018.944 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.944 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.943Z", "action": "updated", "update_id": "90e508dd-dc8b-42e3-8c9c-da99c024774b", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.945 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.943Z", "action": "updated", "update_id": "90e508dd-dc8b-42e3-8c9c-da99c024774b", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.945 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251220_031018.945 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251220_031018.945 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.943Z", "action": "updated", "update_id": "90e508dd-dc8b-42e3-8c9c-da99c024774b", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.946 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20251220_031018.946 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"timestamp": "2025-12-20T03:10:18.943Z", "action": "updated", "update_id": "90e508dd-dc8b-42e3-8c9c-da99c024774b", "policies_count": 0}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}} 20251220_031018.946 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.946 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.965 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251220_031018.965 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.966 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/"}}] 20251220_031018.966 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251220_031018.966 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"} 20251220_031018.966 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "node": {"name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "workdir": null, "package_name": null}, "task_id": null, "task_queue": null, "type": "node-instance", "instance": {"relationships": [{"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}, "id": "dcae_policy_node_id"}, "node": {"name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_node_id_2"}, "node": {"name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}, "id": "weird_policy_5_node_id"}, "node": {"name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T05:10:18.598Z"}}}}}, "id": "dcae_policies_node_id"}, "node": {"name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T03:10:18.598Z"}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T04:10:18.598Z"}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T06:10:18.598Z"}}}, "id": "dcae_policy_b_node_id"}, "node": {"name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-12-20T07:10:18.598Z"}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-12-20T03:10:18.598Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null} 20251220_031018.967 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251220_031018.973 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 20251220_031018.973 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear