20260328_070502.181 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.181 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.181 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.181 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}} 20260328_070502.182 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260328_070502.182 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260328_070502.182 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.185 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}} 20260328_070502.185 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260328_070502.186 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}} 20260328_070502.186 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260328_070502.186 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.191 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.192 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.192 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.192 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xOTJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWU1NzRmNGUtMmVlOS00N2NjLWEwYTgtNzExYzU4MGY0Y2EwIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.193 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.192Z", "action": "gathered", "update_id": "1e574f4e-2ee9-47cc-a0a8-711c580f4ca0"}}}} 20260328_070502.193 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.192Z", "action": "gathered", "update_id": "1e574f4e-2ee9-47cc-a0a8-711c580f4ca0"}} 20260328_070502.193 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.193 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.194 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.194 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.192Z", "action": "gathered", "update_id": "1e574f4e-2ee9-47cc-a0a8-711c580f4ca0"}}}} 20260328_070502.194 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.194 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.195 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xOTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMDAwYmRjMy1lN2Y1LTQxY2EtOTQ5Zi03Njc3Zjg0Yjg3YmYifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.195 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.196 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.195Z", "action": "updated", "update_id": "f000bdc3-e7f5-41ca-949f-7677f84b87bf"}}}} 20260328_070502.196 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_070502.196 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.196 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.197 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.197 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.197 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.197 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.197 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.212 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.213 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.213 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.213 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yMTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjBlOTIxODItZmZhZC00ZjljLTk0N2YtMmRmOGU1Njg5OTNiIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.214 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.213Z", "action": "gathered", "update_id": "60e92182-ffad-4f9c-947f-2df8e568993b"}}}} 20260328_070502.214 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.213Z", "action": "gathered", "update_id": "60e92182-ffad-4f9c-947f-2df8e568993b"}} 20260328_070502.214 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.215 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.213Z", "action": "gathered", "update_id": "60e92182-ffad-4f9c-947f-2df8e568993b"}}}} 20260328_070502.215 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260328_070502.215 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_070502.215 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yMTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2ZmNhNjE1MC05NmI0LTQyODktYmUzMC05YTVkZjNhZDQzMjEifQ==", "Key": "unit_test_scn:policies/event"}}] 20260328_070502.216 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.216 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.215Z", "action": "updated", "update_id": "6fca6150-96b4-4289-be30-9a5df3ad4321"}}}} 20260328_070502.217 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.215Z", "action": "updated", "update_id": "6fca6150-96b4-4289-be30-9a5df3ad4321"}}}} 20260328_070502.217 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260328_070502.217 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_070502.218 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.215Z", "action": "updated", "update_id": "6fca6150-96b4-4289-be30-9a5df3ad4321"}}}} 20260328_070502.218 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260328_070502.218 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.215Z", "action": "updated", "update_id": "6fca6150-96b4-4289-be30-9a5df3ad4321"}} 20260328_070502.218 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.218 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.236 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.237 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.237 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.238 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yMzdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWUzYTE2OWItZGJhZi00ZTljLTgxNWYtNGJlMzJjNTRiMWI4In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.238 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.237Z", "action": "gathered", "update_id": "1e3a169b-dbaf-4e9c-815f-4be32c54b1b8"}}}} 20260328_070502.238 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.237Z", "action": "gathered", "update_id": "1e3a169b-dbaf-4e9c-815f-4be32c54b1b8"}} 20260328_070502.239 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.239 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.237Z", "action": "gathered", "update_id": "1e3a169b-dbaf-4e9c-815f-4be32c54b1b8"}}}} 20260328_070502.239 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260328_070502.239 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.240 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.240 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.237Z", "action": "gathered", "update_id": "1e3a169b-dbaf-4e9c-815f-4be32c54b1b8"}}}} 20260328_070502.240 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.254 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_070502.254 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.254 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260328_070502.254 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.255 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.255 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.255 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.262 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.263 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) 20260328_070502.263 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) 20260328_070502.263 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.267 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.268 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.269 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.269 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yNjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzFkMzg4YWUtNjU2NC00NjAwLTgxZTMtNGU5MTcwNWMxNDJkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.269 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.269Z", "action": "gathered", "update_id": "71d388ae-6564-4600-81e3-4e91705c142d"}}}} 20260328_070502.270 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.269Z", "action": "gathered", "update_id": "71d388ae-6564-4600-81e3-4e91705c142d"}} 20260328_070502.270 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.270 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.269Z", "action": "gathered", "update_id": "71d388ae-6564-4600-81e3-4e91705c142d"}}}} 20260328_070502.270 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260328_070502.270 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.271 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.271 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.269Z", "action": "gathered", "update_id": "71d388ae-6564-4600-81e3-4e91705c142d"}}}} 20260328_070502.271 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.285 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.286 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.286 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.287 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yODZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjRjNzI3NDgtNmJhMi00ZTljLTk3NmItOTNjOTBlMGFlMmY1In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.287 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.286Z", "action": "gathered", "update_id": "64c72748-6ba2-4e9c-976b-93c90e0ae2f5"}}}} 20260328_070502.287 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.286Z", "action": "gathered", "update_id": "64c72748-6ba2-4e9c-976b-93c90e0ae2f5"}} 20260328_070502.287 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.288 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.286Z", "action": "gathered", "update_id": "64c72748-6ba2-4e9c-976b-93c90e0ae2f5"}}}} 20260328_070502.288 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260328_070502.289 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_070502.289 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yODlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlMzFkODJjYy04ZGNmLTQwZDYtYmQ5MS00MDIwY2Y0MmMzNTcifQ==", "Key": "unit_test_scn:policies/event"}}] 20260328_070502.289 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.290 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.289Z", "action": "updated", "update_id": "e31d82cc-8dcf-40d6-bd91-4020cf42c357"}}}} 20260328_070502.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260328_070502.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.291 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.289Z", "action": "updated", "update_id": "e31d82cc-8dcf-40d6-bd91-4020cf42c357"}}}} 20260328_070502.291 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.291 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.291 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4yOTFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4ZmU4MzUyMS1jYmIzLTQ5NWMtYTk2NC1mZTdkNmJiNmVhNGQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260328_070502.292 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.292 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 2, "timestamp": "2026-03-28T07:05:02.291Z", "action": "updated", "update_id": "8fe83521-cbb3-495c-a964-fe7d6bb6ea4d"}}}} 20260328_070502.292 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_070502.292 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.293 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.293 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.311 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_070502.311 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.312 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260328_070502.312 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.312 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.312 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.312 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.320 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.321 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.321 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.321 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zMjFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNTBiZTViZDQtYmVhZC00NjVkLWI3M2QtMzk1NzQ0OGI3N2VhIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.322 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.321Z", "action": "gathered", "update_id": "50be5bd4-bead-465d-b73d-3957448b77ea"}}}} 20260328_070502.322 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.321Z", "action": "gathered", "update_id": "50be5bd4-bead-465d-b73d-3957448b77ea"}} 20260328_070502.322 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.323 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.321Z", "action": "gathered", "update_id": "50be5bd4-bead-465d-b73d-3957448b77ea"}}}} 20260328_070502.323 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260328_070502.323 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_070502.324 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zMjRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0MDAxYjgzYi1iYWQ2LTRkNDEtOGMyZC01M2QxNTVhZmFkMTUifQ==", "Key": "unit_test_scn:policies/event"}}] 20260328_070502.324 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.324 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.324Z", "action": "updated", "update_id": "4001b83b-bad6-4d41-8c2d-53d155afad15"}}}} 20260328_070502.325 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260328_070502.325 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.324Z", "action": "updated", "update_id": "4001b83b-bad6-4d41-8c2d-53d155afad15"}} 20260328_070502.325 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.325 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.338 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 20260328_070502.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.341 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_070502.342 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.342 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260328_070502.342 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.342 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.343 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.343 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.349 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}} 20260328_070502.349 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) 20260328_070502.350 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) 20260328_070502.350 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.354 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.355 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.355 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.355 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zNTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNmU2YTdiMzgtMTFkZS00MjA1LWI4NDQtNTk4NjE2M2EyOGQ3In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.356 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.355Z", "action": "gathered", "update_id": "6e6a7b38-11de-4205-b844-5986163a28d7"}}}} 20260328_070502.356 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.355Z", "action": "gathered", "update_id": "6e6a7b38-11de-4205-b844-5986163a28d7"}} 20260328_070502.356 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.357 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.355Z", "action": "gathered", "update_id": "6e6a7b38-11de-4205-b844-5986163a28d7"}}}} 20260328_070502.357 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260328_070502.358 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_070502.358 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zNThaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhNmNhODVhYS02YWEzLTQwMjAtYTY5YS0wOTJiOTFkYjMyNzUifQ==", "Key": "unit_test_scn:policies/event"}}] 20260328_070502.358 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.358 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.358Z", "action": "updated", "update_id": "a6ca85aa-6aa3-4020-a69a-092b91db3275"}}}} 20260328_070502.359 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.359 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.359 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-03-28T07:05:02.358Z", "action": "updated", "update_id": "a6ca85aa-6aa3-4020-a69a-092b91db3275"}}}} 20260328_070502.360 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.360 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.360 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zNjBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzZGNlZjlkMi1iYjFhLTRlNDYtYTc1Mi1kMTVlMmE0ZGQ2MDQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260328_070502.360 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.361 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 2, "timestamp": "2026-03-28T07:05:02.360Z", "action": "updated", "update_id": "3dcef9d2-bb1a-4e46-a752-d15e2a4dd604"}}}} 20260328_070502.361 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260328_070502.361 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.361 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.362 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.379 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.379 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.379 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.379 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}} 20260328_070502.379 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260328_070502.380 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260328_070502.380 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.384 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260328_070502.385 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.385 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260328_070502.385 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.385 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.386 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.386 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.393 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.394 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.394 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.395 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zOTRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZmQxYzIzYTItN2EyOC00MzI0LTk3NWEtNTZkNGI0Y2M3YWI0In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.395 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.394Z", "action": "gathered", "update_id": "fd1c23a2-7a28-4324-975a-56d4b4cc7ab4"}}}} 20260328_070502.395 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.394Z", "action": "gathered", "update_id": "fd1c23a2-7a28-4324-975a-56d4b4cc7ab4"}} 20260328_070502.395 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.396 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.396 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.396 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.394Z", "action": "gathered", "update_id": "fd1c23a2-7a28-4324-975a-56d4b4cc7ab4"}}}} 20260328_070502.396 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.397 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.397 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4zOTdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxN2U4ZWQyMS0xMWE0LTQ2NGQtYTc0Yy1jM2NmMDA0MmMzMTMifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.398 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.398 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.397Z", "action": "updated", "update_id": "17e8ed21-11a4-464d-a74c-c3cf0042c313"}}}} 20260328_070502.398 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260328_070502.398 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.398 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.399 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.399 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.399 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.399 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.399 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.414 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260328_070502.414 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}}} 20260328_070502.414 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.415 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.415 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}}} 20260328_070502.415 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.424 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.425 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.425 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.425 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40MjVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDc0NWJmNGYtYTRjYS00NDc4LWFiYjItNjU2MzA2NzBkZGUwIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.425 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.425Z", "action": "gathered", "update_id": "d745bf4f-a4ca-4478-abb2-65630670dde0"}}}} 20260328_070502.426 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.425Z", "action": "gathered", "update_id": "d745bf4f-a4ca-4478-abb2-65630670dde0"}} 20260328_070502.426 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.426 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": ["damaged config"], "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.426 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.427 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.425Z", "action": "gathered", "update_id": "d745bf4f-a4ca-4478-abb2-65630670dde0"}}}} 20260328_070502.427 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": ["damaged config"], "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.427 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.427 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40MjdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzN2NjMTQ3OC0yNWRiLTQ0ZjQtYWI0OC0xYzllZWMyODhhMTEifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04ifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.428 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.428 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": ["damaged config"], "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.427Z", "action": "updated", "update_id": "37cc1478-25db-44f4-ab48-1c9eec288a11"}}}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": ["damaged config"], "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.429 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.430 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.444 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.445 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.445 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.446 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40NDVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjA5NjFkZTUtNjJjZS00MzFkLThjODYtYTMyOWUyY2MxNTdkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.446 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.445Z", "action": "gathered", "update_id": "20961de5-62ce-431d-8c86-a329e2cc157d"}}}} 20260328_070502.446 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.445Z", "action": "gathered", "update_id": "20961de5-62ce-431d-8c86-a329e2cc157d"}} 20260328_070502.447 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.447 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.447 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.448 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.445Z", "action": "gathered", "update_id": "20961de5-62ce-431d-8c86-a329e2cc157d"}}}} 20260328_070502.448 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20260328_070502.448 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.448 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "duplicate": []} 20260328_070502.449 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.445Z", "action": "gathered", "update_id": "20961de5-62ce-431d-8c86-a329e2cc157d"}}}} 20260328_070502.449 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.445Z", "action": "gathered", "update_id": "20961de5-62ce-431d-8c86-a329e2cc157d"}} 20260328_070502.449 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.449 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.449 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.464 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 20260328_070502.464 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.468 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.469 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.469 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.469 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40NjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZTNhZTQxMDgtOWE1OS00NWQxLWIzZjYtMGY4ODVjMWQ0OWNhIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.470 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.469Z", "action": "gathered", "update_id": "e3ae4108-9a59-45d1-b3f6-0f885c1d49ca"}}}} 20260328_070502.470 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.469Z", "action": "gathered", "update_id": "e3ae4108-9a59-45d1-b3f6-0f885c1d49ca"}} 20260328_070502.470 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.470 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_070502.470 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_070502.471 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.469Z", "action": "gathered", "update_id": "e3ae4108-9a59-45d1-b3f6-0f885c1d49ca"}}}} 20260328_070502.471 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_070502.471 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_070502.472 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40NzFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzNjdhYjQwNC01ZGQ3LTQ0M2EtOTYyNS04ODY2ZjY5NjA0MjgifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.472 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.473 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.471Z", "action": "updated", "update_id": "367ab404-5dd7-443a-9625-8866f6960428"}}}} 20260328_070502.473 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260328_070502.473 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.473 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.473 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.473 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.474 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.474 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.474 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.489 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_070502.489 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.489 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260328_070502.489 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.490 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.490 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}} 20260328_070502.490 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.497 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.498 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.499 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.499 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi40OTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzIxMzgxNDQtMGViYS00Mjc0LTk0NjUtNmRhNjRjMTQ4ZGY3In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.499 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.499Z", "action": "gathered", "update_id": "32138144-0eba-4274-9465-6da64c148df7"}}}} 20260328_070502.500 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.499Z", "action": "gathered", "update_id": "32138144-0eba-4274-9465-6da64c148df7"}} 20260328_070502.500 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.500 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_070502.509 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}} 20260328_070502.510 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_070502.510 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260328_070502.511 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwNzowNTowMi41MTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTljYTI4YzYtMDBiNi00MGM4LTg1OGEtMzFiNzQyMTI3YjdhIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQxMDowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDg6MDU6MDIuMTU5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNzowNTowMi4xNTlaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDEwOjA1OjAyLjE1OVoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20260328_070502.511 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_id": null, "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T09:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"config": {"policy_updated_ts": "2026-03-28T11:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.510Z", "action": "gathered", "update_id": "99ca28c6-00b6-40c8-858a-31b742127b7a"}}}} 20260328_070502.511 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T07:05:02.159Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-03-28T07:05:02.510Z", "action": "gathered", "update_id": "99ca28c6-00b6-40c8-858a-31b742127b7a"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T07:05:02.159Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.512 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T10:05:02.159Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.513 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260328_070502.513 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T08:05:02.159Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260328_070502.513 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear