20250712_070626.724 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.724 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250712_070626.725 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.725 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250712_070626.725 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.729 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250712_070626.730 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.730 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.730 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.731 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.731 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.739 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.740 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.740 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.741 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTg0MTIxNTgtMTg2Ny00MTEwLTlkZGMtMjVkZTU1ZDQwNGMzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljc0MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.741 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "98412158-1867-4110-9ddc-25de55d404c3", "timestamp": "2025-07-12T07:06:26.740Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.741 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "98412158-1867-4110-9ddc-25de55d404c3", "timestamp": "2025-07-12T07:06:26.740Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.742 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.742 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.742 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.742 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "update_id": "98412158-1867-4110-9ddc-25de55d404c3", "timestamp": "2025-07-12T07:06:26.740Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.743 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.743 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.743 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODE1YWU0NTEtNDg0YS00M2QzLTk0YWEtMmFlNmUwNDJmM2QyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljc0M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250712_070626.744 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.744 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "update_id": "815ae451-484a-43d3-94aa-2ae6e042f3d2", "timestamp": "2025-07-12T07:06:26.743Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.744 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.745 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070626.746 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.760 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.761 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-maven-clm-master/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) 20250712_070626.761 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) 20250712_070626.761 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.766 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.767 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.767 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.767 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDE3NDdjNjAtMDMzYS00ODIxLThmODQtYTgxODllYTRjMjg4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljc2N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.768 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "41747c60-033a-4821-8f84-a8189ea4c288", "timestamp": "2025-07-12T07:06:26.767Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.768 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "41747c60-033a-4821-8f84-a8189ea4c288", "timestamp": "2025-07-12T07:06:26.767Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.768 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.768 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.769 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.769 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "update_id": "41747c60-033a-4821-8f84-a8189ea4c288", "timestamp": "2025-07-12T07:06:26.767Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.769 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.770 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.770 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWNjMjY0MDUtMmQ5NS00OGEyLWI4NDUtZWM4MzFhZGNkZjIyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljc3MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250712_070626.770 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.771 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "update_id": "5cc26405-2d95-48a2-b845-ec831adcdf22", "timestamp": "2025-07-12T07:06:26.770Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.771 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_070626.771 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.772 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.772 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070626.772 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.788 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.790 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.790 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmFhZjgxYmItNjZiMy00OTgxLWEzOTMtNjQxZmRmNjM1ODdiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljc5MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.791 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "baaf81bb-66b3-4981-a393-641fdf63587b", "timestamp": "2025-07-12T07:06:26.790Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.792 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "baaf81bb-66b3-4981-a393-641fdf63587b", "timestamp": "2025-07-12T07:06:26.790Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.792 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.792 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "baaf81bb-66b3-4981-a393-641fdf63587b", "timestamp": "2025-07-12T07:06:26.790Z", "action": "gathered"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.793 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"}}] 20250712_070626.793 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.793 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.793 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "baaf81bb-66b3-4981-a393-641fdf63587b", "timestamp": "2025-07-12T07:06:26.790Z", "action": "gathered"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.794 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.808 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_070626.808 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.809 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"}}] 20250712_070626.809 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.809 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.809 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.818 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.819 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.819 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.819 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDhjNzdkMzctNmRhZS00M2JkLTk4N2EtNWQ3MTdiYjk0Y2Y3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjgxOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.820 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "08c77d37-6dae-43bd-987a-5d717bb94cf7", "timestamp": "2025-07-12T07:06:26.819Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.820 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "08c77d37-6dae-43bd-987a-5d717bb94cf7", "timestamp": "2025-07-12T07:06:26.819Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.820 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.820 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "08c77d37-6dae-43bd-987a-5d717bb94cf7", "timestamp": "2025-07-12T07:06:26.819Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.821 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250712_070626.821 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_070626.821 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZjhmZTA2YWYtMjliMi00ZGM0LTk3ZGUtNDgwMzc4MWViY2MxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjgyMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250712_070626.822 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.822 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "f8fe06af-29b2-4dc4-97de-4803781ebcc1", "timestamp": "2025-07-12T07:06:26.821Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.823 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.823 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.823 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "f8fe06af-29b2-4dc4-97de-4803781ebcc1", "timestamp": "2025-07-12T07:06:26.821Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.823 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.823 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.824 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiZTRhMjJkMmItNjIwOS00YzQzLWI5MDMtNGNmMDE4ODFmMjUzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjgyNFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}] 20250712_070626.824 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.825 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 2, "update_id": "e4a22d2b-6209-4c43-b903-4cf01881f253", "timestamp": "2025-07-12T07:06:26.824Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.825 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250712_070626.825 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.825 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.825 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.846 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.847 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.847 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.847 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzhjOWUzYmQtZDU5Yy00N2Q3LWE5YzItYTg4ZjQwNDcyYmViIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljg0N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.848 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "78c9e3bd-d59c-47d7-a9c2-a88f40472beb", "timestamp": "2025-07-12T07:06:26.847Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.848 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "78c9e3bd-d59c-47d7-a9c2-a88f40472beb", "timestamp": "2025-07-12T07:06:26.847Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.848 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.849 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "update_id": "78c9e3bd-d59c-47d7-a9c2-a88f40472beb", "timestamp": "2025-07-12T07:06:26.847Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.849 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250712_070626.850 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_070626.850 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNTQyNzNjZjEtYTM4Yi00OWI5LTgwNDItM2YxYjgzYTQ2YmQ2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljg1MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250712_070626.850 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.851 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "update_id": "54273cf1-a38b-49b9-8042-3f1b83a46bd6", "timestamp": "2025-07-12T07:06:26.850Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.851 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250712_070626.851 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.851 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.851 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "update_id": "54273cf1-a38b-49b9-8042-3f1b83a46bd6", "timestamp": "2025-07-12T07:06:26.850Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.852 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.852 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.852 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMGNhY2UyOTAtOGQzYy00ZjE4LTk4YjctNGEzMDBiYzBhZTFjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljg1MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}] 20250712_070626.853 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.853 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 2, "update_id": "0cace290-8d3c-4f18-98b7-4a300bc0ae1c", "timestamp": "2025-07-12T07:06:26.852Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.853 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_070626.853 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.854 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.854 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.873 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.873 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.874 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.874 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.874 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20250712_070626.874 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250712_070626.874 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.880 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.881 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.881 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.881 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDAwZTlkNjMtMjYwNS00ZWU5LWJjMjktNGZlMTJmYTc5ZWZmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljg4MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.882 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "400e9d63-2605-4ee9-bc29-4fe12fa79eff", "timestamp": "2025-07-12T07:06:26.881Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.882 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "400e9d63-2605-4ee9-bc29-4fe12fa79eff", "timestamp": "2025-07-12T07:06:26.881Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.882 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.882 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.891 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_070626.892 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.892 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"}}] 20250712_070626.892 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.892 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.893 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.893 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.901 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.902 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.902 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.903 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2RkNTYzNGYtZmM3MC00OTEzLTgxYWMtZmZmNzVkODlhYjhlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjkwMloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.903 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cdd5634f-fc70-4913-81ac-fff75d89ab8e", "timestamp": "2025-07-12T07:06:26.902Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.903 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cdd5634f-fc70-4913-81ac-fff75d89ab8e", "timestamp": "2025-07-12T07:06:26.902Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.904 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.904 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.904 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}] 20250712_070626.905 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "cdd5634f-fc70-4913-81ac-fff75d89ab8e", "timestamp": "2025-07-12T07:06:26.902Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.905 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml"}}}}}, removed_policies: ["<<>>"] 20250712_070626.905 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}} 20250712_070626.905 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}]} 20250712_070626.906 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "cdd5634f-fc70-4913-81ac-fff75d89ab8e", "timestamp": "2025-07-12T07:06:26.902Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.906 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "cdd5634f-fc70-4913-81ac-fff75d89ab8e", "timestamp": "2025-07-12T07:06:26.902Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.906 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.907 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.907 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.924 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.925 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.925 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.925 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODVjNDk2MTYtMTk0Yi00MjU4LWJlZDYtZjU5YzI1OWNhY2Y1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjkyNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.926 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "85c49616-194b-4258-bed6-f59c259cacf5", "timestamp": "2025-07-12T07:06:26.925Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.926 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "85c49616-194b-4258-bed6-f59c259cacf5", "timestamp": "2025-07-12T07:06:26.925Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.926 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.926 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.927 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.927 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "85c49616-194b-4258-bed6-f59c259cacf5", "timestamp": "2025-07-12T07:06:26.925Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.927 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.928 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.928 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGIzNzg5MTYtYjEyYi00ZTM2LThlMGUtMDZjYmNkYWZiMTIyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjkyOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwODowNjoyNi43MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250712_070626.928 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.929 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "8b378916-b12b-4e36-8e0e-06cbcdafb122", "timestamp": "2025-07-12T07:06:26.928Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.929 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250712_070626.929 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.929 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.930 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.930 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.930 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.930 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070626.930 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.946 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_070626.947 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.947 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"}}] 20250712_070626.947 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.947 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.948 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.948 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.956 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_070626.957 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.957 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"}}] 20250712_070626.957 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.957 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.957 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.958 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.966 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.967 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.967 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.967 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDMxNzNjYTAtODMwZS00NDBiLWEwY2ItNjljZjNjYjczNzYxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljk2N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.968 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d3173ca0-830e-440b-a0cb-69cf3cb73761", "timestamp": "2025-07-12T07:06:26.967Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.968 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d3173ca0-830e-440b-a0cb-69cf3cb73761", "timestamp": "2025-07-12T07:06:26.967Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.968 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.969 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "d3173ca0-830e-440b-a0cb-69cf3cb73761", "timestamp": "2025-07-12T07:06:26.967Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.969 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250712_070626.969 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_070626.970 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMjVjMDZlZWYtMDlhNi00YjczLTliNzgtNGM4OWU0YWUzNTA3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljk3MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250712_070626.970 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.970 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "25c06eef-09a6-4b73-9b78-4c89e4ae3507", "timestamp": "2025-07-12T07:06:26.970Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.971 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "25c06eef-09a6-4b73-9b78-4c89e4ae3507", "timestamp": "2025-07-12T07:06:26.970Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.971 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250712_070626.971 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_070626.972 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "25c06eef-09a6-4b73-9b78-4c89e4ae3507", "timestamp": "2025-07-12T07:06:26.970Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.972 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250712_070626.972 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "25c06eef-09a6-4b73-9b78-4c89e4ae3507", "timestamp": "2025-07-12T07:06:26.970Z", "action": "updated"}, "exe_task": "node_configure"} 20250712_070626.972 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.973 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070626.993 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.994 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070626.994 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.995 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWYzZWFjMDctYWViNC00ZWMyLWFmODYtYTk3NjZhNWZkNmEyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljk5NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070626.995 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "af3eac07-aeb4-4ec2-af86-a9766a5fd6a2", "timestamp": "2025-07-12T07:06:26.995Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.996 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "af3eac07-aeb4-4ec2-af86-a9766a5fd6a2", "timestamp": "2025-07-12T07:06:26.995Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070626.996 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070626.996 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250712_070626.996 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_070626.997 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "update_id": "af3eac07-aeb4-4ec2-af86-a9766a5fd6a2", "timestamp": "2025-07-12T07:06:26.995Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.997 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_070626.997 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250712_070626.997 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDg1YmRiYmEtOTZiYS00ZWZhLWExYTctMDg2M2M0NzhlNDZiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2Ljk5N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwifQ=="}}] 20250712_070626.998 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070626.998 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "update_id": "d85bdbba-96ba-4efa-a1a7-0863c478e46b", "timestamp": "2025-07-12T07:06:26.997Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "type": "JSON", "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070626.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070627.000 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070627.000 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.014 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 20250712_070627.014 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.017 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.018 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-maven-clm-master/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) 20250712_070627.018 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) 20250712_070627.018 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.022 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250712_070627.022 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.023 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250712_070627.023 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.023 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.023 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.024 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.030 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 20250712_070627.030 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.034 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.035 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.035 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.036 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzM5MDc4ZDEtYTQzNC00YzI1LTk4YWItNzk2NDJjMDE1ZTVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI3LjAzNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070627.036 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c39078d1-a434-4c25-98ab-79642c015e5d", "timestamp": "2025-07-12T07:06:27.035Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.037 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c39078d1-a434-4c25-98ab-79642c015e5d", "timestamp": "2025-07-12T07:06:27.035Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070627.037 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070627.037 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c39078d1-a434-4c25-98ab-79642c015e5d", "timestamp": "2025-07-12T07:06:27.035Z", "action": "gathered"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.037 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"}}] 20250712_070627.038 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.038 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.038 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c39078d1-a434-4c25-98ab-79642c015e5d", "timestamp": "2025-07-12T07:06:27.035Z", "action": "gathered"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.038 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.055 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.056 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.057 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.057 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzgyNTFmYWItYmNjZS00ZTk2LTk5OTctOGZjODM5NjgzZDkxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI3LjA1N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070627.057 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "38251fab-bcce-4e96-9997-8fc839683d91", "timestamp": "2025-07-12T07:06:27.057Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "38251fab-bcce-4e96-9997-8fc839683d91", "timestamp": "2025-07-12T07:06:27.057Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070627.058 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250712_070627.059 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true} 20250712_070627.059 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true} 20250712_070627.059 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false} 20250712_070627.059 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false} 20250712_070627.059 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.070 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.071 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.071 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.071 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjlkOTRkMjMtZTc0ZC00OWQwLWJmYTMtOTViOGVjYmRkNDZjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI3LjA3MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA4OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA3OjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDEwOjA2OjI2LjcwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}] 20250712_070627.072 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "69d94d23-e74d-49d0-bfa3-95b8ecbdd46c", "timestamp": "2025-07-12T07:06:27.071Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.072 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "69d94d23-e74d-49d0-bfa3-95b8ecbdd46c", "timestamp": "2025-07-12T07:06:27.071Z", "action": "gathered"}, "exe_task": "node_configure"} 20250712_070627.072 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}} 20250712_070627.073 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "update_id": "69d94d23-e74d-49d0-bfa3-95b8ecbdd46c", "timestamp": "2025-07-12T07:06:27.071Z", "action": "gathered"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.073 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250712_070627.073 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_070627.074 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNDBmNjMxZTUtZWM2NS00YjkwLWI3ODEtMWM3NWMzZTk1YTUxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA3LTEyVDA3OjA2OjI3LjA3M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250712_070627.074 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.074 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "40f631e5-ec65-4b90-b781-1c75c3e95a51", "timestamp": "2025-07-12T07:06:27.073Z", "action": "updated"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T07:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T08:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T10:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T11:06:26.701Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.075 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250712_070627.075 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "update_id": "40f631e5-ec65-4b90-b781-1c75c3e95a51", "timestamp": "2025-07-12T07:06:27.073Z", "action": "updated"}, "exe_task": "node_configure"} 20250712_070627.075 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.075 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_070627.089 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.089 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_070627.089 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250712_070627.089 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "weather": "snow", "policy_updated_from_ver": "0"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "task_target": null, "task_queue": null, "workflow_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "config": {"policy_updated_ts": "2025-07-12T09:06:26.701Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}} 20250712_070627.090 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-07-12T07:06:26.701Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20250712_070627.090 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250712_070627.090 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear