20251129_031049.928 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031049.928 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.928 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.929 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031049.929 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251129_031049.929 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.929 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.933 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031049.933 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) 20251129_031049.933 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) 20251129_031049.933 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.938 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251129_031049.938 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.938 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251129_031049.938 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.939 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.939 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.939 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.947 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.948 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.948 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.948 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNmY0MmIyODMtNWYxOS00YzNjLThhNTctZWQ2NDU5YzY3ZmE5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjQ5Ljk0OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031049.949 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6f42b283-5f19-4c3c-8a57-ed6459c67fa9", "timestamp": "2025-11-29T03:10:49.948Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.949 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6f42b283-5f19-4c3c-8a57-ed6459c67fa9", "timestamp": "2025-11-29T03:10:49.948Z", "action": "gathered", "policies_count": 4}} 20251129_031049.949 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.950 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.950 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}] 20251129_031049.950 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6f42b283-5f19-4c3c-8a57-ed6459c67fa9", "timestamp": "2025-11-29T03:10:49.948Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.951 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20251129_031049.951 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.951 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "same": [{"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], "unexpected": [{"policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}]} 20251129_031049.952 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6f42b283-5f19-4c3c-8a57-ed6459c67fa9", "timestamp": "2025-11-29T03:10:49.948Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.952 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6f42b283-5f19-4c3c-8a57-ed6459c67fa9", "timestamp": "2025-11-29T03:10:49.948Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"} 20251129_031049.952 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.952 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.952 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.968 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031049.968 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.968 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.968 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031049.968 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251129_031049.969 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.969 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.974 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.975 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.975 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.975 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZTJjYWU0MDEtZTUzYS00MjQxLTg0MGEtZWQyYjA3Y2YxMjY2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjQ5Ljk3NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031049.976 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e2cae401-e53a-4241-840a-ed2b07cf1266", "timestamp": "2025-11-29T03:10:49.975Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.976 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e2cae401-e53a-4241-840a-ed2b07cf1266", "timestamp": "2025-11-29T03:10:49.975Z", "action": "gathered", "policies_count": 4}} 20251129_031049.976 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.976 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.986 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251129_031049.986 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.986 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251129_031049.987 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.987 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.987 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.987 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031049.995 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.996 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031049.996 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031049.996 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYmMyNTBhMTQtMTEzMS00M2RmLWFiOGEtNjRjYjMwZDRkZWRlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjQ5Ljk5NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031049.997 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "bc250a14-1131-43df-ab8a-64cb30d4dede", "timestamp": "2025-11-29T03:10:49.996Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.997 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "bc250a14-1131-43df-ab8a-64cb30d4dede", "timestamp": "2025-11-29T03:10:49.996Z", "action": "gathered", "policies_count": 4}} 20251129_031049.997 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031049.998 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "bc250a14-1131-43df-ab8a-64cb30d4dede", "timestamp": "2025-11-29T03:10:49.996Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031049.998 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20251129_031049.999 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251129_031049.999 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjlhMzdkNzEtZjk1NS00Y2E4LWJlNTItOTg4ZjNjNmMwMGM1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjQ5Ljk5OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20251129_031049.999 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.000 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f9a37d71-f955-4ca8-be52-988f3c6c00c5", "timestamp": "2025-11-29T03:10:49.999Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.000 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f9a37d71-f955-4ca8-be52-988f3c6c00c5", "timestamp": "2025-11-29T03:10:49.999Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.001 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.001 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.001 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYWYzZjA3ZWQtZmNjMy00MTQ5LThmNGItMzk2ZjdiOTdhOThjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjAwMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}] 20251129_031050.002 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.002 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "af3f07ed-fcc3-4149-8f4b-396f7b97a98c", "timestamp": "2025-11-29T03:10:50.001Z", "action": "updated", "policies_count": 2}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.002 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251129_031050.002 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.003 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.003 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.021 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 20251129_031050.021 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.024 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251129_031050.025 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.025 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251129_031050.025 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.026 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.026 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.026 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.033 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251129_031050.034 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.034 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251129_031050.034 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.034 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.035 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.035 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.043 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.044 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.044 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.044 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDk0NmJkNzMtN2RiZS00MWRlLWE1MzAtOWM5MGRmZjU1MjA2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA0NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.045 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d946bd73-7dbe-41de-a530-9c90dff55206", "timestamp": "2025-11-29T03:10:50.044Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.045 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d946bd73-7dbe-41de-a530-9c90dff55206", "timestamp": "2025-11-29T03:10:50.044Z", "action": "gathered", "policies_count": 4}} 20251129_031050.045 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.046 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d946bd73-7dbe-41de-a530-9c90dff55206", "timestamp": "2025-11-29T03:10:50.044Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.046 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251129_031050.046 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.046 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.047 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d946bd73-7dbe-41de-a530-9c90dff55206", "timestamp": "2025-11-29T03:10:50.044Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.047 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.061 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.062 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.062 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.063 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYjQwODBmZDgtODNjZC00Yjg4LTg4N2EtMTA4MDEwMjgwZTM5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA2MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.063 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "b4080fd8-83cd-4b88-887a-108010280e39", "timestamp": "2025-11-29T03:10:50.062Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.063 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "b4080fd8-83cd-4b88-887a-108010280e39", "timestamp": "2025-11-29T03:10:50.062Z", "action": "gathered", "policies_count": 4}} 20251129_031050.063 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.064 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "b4080fd8-83cd-4b88-887a-108010280e39", "timestamp": "2025-11-29T03:10:50.062Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.064 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20251129_031050.065 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251129_031050.065 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYzgwZGRkNDItZTU1Ni00NjU3LWIxN2YtNzU0YjliMGRlZTc2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA2NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20251129_031050.065 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.066 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "c80ddd42-e556-4657-b17f-754b9b0dee76", "timestamp": "2025-11-29T03:10:50.065Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.066 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.066 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.066 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "c80ddd42-e556-4657-b17f-754b9b0dee76", "timestamp": "2025-11-29T03:10:50.065Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.067 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.067 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.067 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiM2MxOGYwOTUtZmNhMi00Y2RlLWE0OGQtMTc5YjBmYmYwMzdlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA2N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}] 20251129_031050.067 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.068 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3c18f095-fca2-4cde-a48d-179b0fbf037e", "timestamp": "2025-11-29T03:10:50.067Z", "action": "updated", "policies_count": 2}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.068 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251129_031050.068 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.068 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.069 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.088 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.089 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.089 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.090 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzk5MzM0ZjEtNzAyMC00NDNjLWEwN2UtNWRhMTE0MDMwZjQ3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA5MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.090 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "399334f1-7020-443c-a07e-5da114030f47", "timestamp": "2025-11-29T03:10:50.090Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.091 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "399334f1-7020-443c-a07e-5da114030f47", "timestamp": "2025-11-29T03:10:50.090Z", "action": "gathered", "policies_count": 4}} 20251129_031050.091 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.091 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "399334f1-7020-443c-a07e-5da114030f47", "timestamp": "2025-11-29T03:10:50.090Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.091 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20251129_031050.092 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251129_031050.092 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYWMyM2YzNGMtNjBiNC00OGU1LWI3OTItOGQ4ZTgyYTE3OTMyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjA5MloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20251129_031050.092 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.093 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "ac23f34c-60b4-48e5-b792-8d8e82a17932", "timestamp": "2025-11-29T03:10:50.092Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.093 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20251129_031050.093 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "ac23f34c-60b4-48e5-b792-8d8e82a17932", "timestamp": "2025-11-29T03:10:50.092Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"} 20251129_031050.093 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.108 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251129_031050.108 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.108 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251129_031050.109 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.109 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.109 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.109 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.116 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031050.116 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251129_031050.117 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031050.117 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251129_031050.117 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.121 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.122 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.123 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.123 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOTBiM2FhNjQtYWY0Yy00NDI2LWE3MjEtM2M0MWIyNDQ3ODk2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjEyM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.123 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "90b3aa64-af4c-4426-a721-3c41b2447896", "timestamp": "2025-11-29T03:10:50.123Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "90b3aa64-af4c-4426-a721-3c41b2447896", "timestamp": "2025-11-29T03:10:50.123Z", "action": "gathered", "policies_count": 4}} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.124 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.125 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.125 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.125 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251129_031050.125 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251129_031050.125 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.135 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.136 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.136 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.137 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDY1YWZhYzctZTQ1NC00NDMxLWJiZmYtNzk5Mzg1ZTFiNWM1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjEzNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.137 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d65afac7-e454-4431-bbff-799385e1b5c5", "timestamp": "2025-11-29T03:10:50.136Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.137 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d65afac7-e454-4431-bbff-799385e1b5c5", "timestamp": "2025-11-29T03:10:50.136Z", "action": "gathered", "policies_count": 4}} 20251129_031050.138 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.138 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.138 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.138 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "d65afac7-e454-4431-bbff-799385e1b5c5", "timestamp": "2025-11-29T03:10:50.136Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.139 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.139 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.139 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNmE1ZTVlODUtZThiZi00OGYxLWJkMTctNDhiMThlZGI5Y2NlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjEzOVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.140 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.140 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "6a5e5e85-e8bf-48f1-bd17-48b18edb9cce", "timestamp": "2025-11-29T03:10:50.139Z", "action": "updated", "policies_count": 4}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.140 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251129_031050.140 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.141 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.141 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.141 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.141 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.141 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.142 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.159 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.160 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.160 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.161 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZWIxMGE1NjgtNmM0OC00ZWFkLWEwMzQtZDAwZDYxN2NiZWMxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjE2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.161 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "eb10a568-6c48-4ead-a034-d00d617cbec1", "timestamp": "2025-11-29T03:10:50.160Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.161 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "eb10a568-6c48-4ead-a034-d00d617cbec1", "timestamp": "2025-11-29T03:10:50.160Z", "action": "gathered", "policies_count": 4}} 20251129_031050.162 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.162 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.162 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.162 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "eb10a568-6c48-4ead-a034-d00d617cbec1", "timestamp": "2025-11-29T03:10:50.160Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.163 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.163 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.163 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZTkxZWI0OTktNmI2Yi00NmFmLWE0NDctNzFlODAyMzljZTZjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjE2M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.164 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.164 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e91eb499-6b6b-46af-a447-71e80239ce6c", "timestamp": "2025-11-29T03:10:50.163Z", "action": "updated", "policies_count": 4}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.164 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251129_031050.164 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.165 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.165 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.165 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.165 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.165 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.165 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.181 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.182 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.182 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.183 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYmExZmFhMDEtOGQ5ZS00Zjg5LTk0MmMtYzBmYjY3NTY2Y2NhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjE4M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.183 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "ba1faa01-8d9e-4f89-942c-c0fb67566cca", "timestamp": "2025-11-29T03:10:50.183Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.184 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "ba1faa01-8d9e-4f89-942c-c0fb67566cca", "timestamp": "2025-11-29T03:10:50.183Z", "action": "gathered", "policies_count": 4}} 20251129_031050.184 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.184 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": ["damaged config"], "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.184 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.185 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "ba1faa01-8d9e-4f89-942c-c0fb67566cca", "timestamp": "2025-11-29T03:10:50.183Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.185 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": ["damaged config"], "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.185 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.185 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiY2Y5ZTM2ZmMtMTczYi00NmRmLWFjZWMtMTNkNDI1ODMyM2U3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjE4NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.186 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.186 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": ["damaged config"], "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "cf9e36fc-173b-46df-acec-13d4258323e7", "timestamp": "2025-11-29T03:10:50.185Z", "action": "updated", "policies_count": 4}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": ["damaged config"], "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.187 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.188 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.188 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.202 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}]}} 20251129_031050.202 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) 20251129_031050.202 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) 20251129_031050.203 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.207 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251129_031050.207 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.207 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.207 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.208 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.208 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.214 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 20251129_031050.215 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.218 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.219 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.220 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.220 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOTUwNjk3NTMtMTM1Yy00OGZhLWI5NzAtY2VlNTZmZDEwOTM1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjIyMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.220 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95069753-135c-48fa-b970-cee56fd10935", "timestamp": "2025-11-29T03:10:50.220Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.221 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95069753-135c-48fa-b970-cee56fd10935", "timestamp": "2025-11-29T03:10:50.220Z", "action": "gathered", "policies_count": 4}} 20251129_031050.221 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.221 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251129_031050.221 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251129_031050.222 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95069753-135c-48fa-b970-cee56fd10935", "timestamp": "2025-11-29T03:10:50.220Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.222 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251129_031050.222 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251129_031050.222 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNDgyMjg0MjMtMjdkNS00ZjVlLTg1MjMtNDAxOTFhYmFlOWJhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjIyMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA0OjEwOjQ5LjkwNVoifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.223 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.223 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "48228423-27d5-4f5e-8523-40191abae9ba", "timestamp": "2025-11-29T03:10:50.222Z", "action": "updated", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.224 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251129_031050.225 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251129_031050.225 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.240 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.241 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.242 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.242 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiM2JjYjQxNzYtMWJlNC00OThhLTg3NWYtMzNlMmQ4MDRmMGRmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjI0MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.242 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3bcb4176-1be4-498a-875f-33e2d804f0df", "timestamp": "2025-11-29T03:10:50.242Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.243 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3bcb4176-1be4-498a-875f-33e2d804f0df", "timestamp": "2025-11-29T03:10:50.242Z", "action": "gathered", "policies_count": 4}} 20251129_031050.243 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.243 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3bcb4176-1be4-498a-875f-33e2d804f0df", "timestamp": "2025-11-29T03:10:50.242Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.244 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251129_031050.244 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.244 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.244 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3bcb4176-1be4-498a-875f-33e2d804f0df", "timestamp": "2025-11-29T03:10:50.242Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.244 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251129_031050.259 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.260 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251129_031050.260 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.260 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZGVkZWIxMjUtZjkyZC00ZDE1LWE3NWMtN2MyMDE5ZmRiZmUzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjI2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwMzoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0yOVQwNjoxMDo0OS45MDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjlUMDQ6MTA6NDkuOTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTI5VDA2OjEwOjQ5LjkwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20251129_031050.261 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "dedeb125-f92d-4d15-a75c-7c2019fdbfe3", "timestamp": "2025-11-29T03:10:50.260Z", "action": "gathered", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "dedeb125-f92d-4d15-a75c-7c2019fdbfe3", "timestamp": "2025-11-29T03:10:50.260Z", "action": "gathered", "policies_count": 4}} 20251129_031050.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251129_031050.262 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-11-29T04:10:49.905Z", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-11-29T06:10:49.905Z", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "dedeb125-f92d-4d15-a75c-7c2019fdbfe3", "timestamp": "2025-11-29T03:10:50.260Z", "action": "gathered", "policies_count": 4}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.262 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20251129_031050.262 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251129_031050.262 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMGJiNjQ3YTYtNjM2Mi00YjJjLTgzYzMtYzg3NTMyNTgxYTQzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTI5VDAzOjEwOjUwLjI2MloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20251129_031050.263 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.263 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0bb647a6-6362-4b2c-83c3-c87532581a43", "timestamp": "2025-11-29T03:10:50.262Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.264 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0bb647a6-6362-4b2c-83c3-c87532581a43", "timestamp": "2025-11-29T03:10:50.262Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.264 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20251129_031050.264 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251129_031050.265 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "type": "node-instance", "plugin": {"package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "workflow_id": null, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0bb647a6-6362-4b2c-83c3-c87532581a43", "timestamp": "2025-11-29T03:10:50.262Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-29T05:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-29T03:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-29T04:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-29T06:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-29T07:10:49.905Z"}, "property": null, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}}]}} 20251129_031050.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20251129_031050.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "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_2_node_id": {"policy_filter_id": "dcae_policies_2_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_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0bb647a6-6362-4b2c-83c3-c87532581a43", "timestamp": "2025-11-29T03:10:50.262Z", "action": "updated", "policies_count": 0}, "execute_operation": "policy_update"} 20251129_031050.265 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", "weather": "snow", "policy_updated_ts": "2025-11-29T03:10:49.905Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251129_031050.265 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear