20260214_031000.411 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.411 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260214_031000.411 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.412 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260214_031000.412 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.416 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260214_031000.416 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.417 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260214_031000.417 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.417 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.417 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.418 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.425 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.427 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.427 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.428 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiODlmYzgxNjQtMWE5My00YzY3LWI4ZDAtNmNmNjdjYTJlZmRmIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQyN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.428 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "89fc8164-1a93-4c67-b8d0-6cf67ca2efdf", "timestamp": "2026-02-14T03:10:00.427Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.428 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "89fc8164-1a93-4c67-b8d0-6cf67ca2efdf", "timestamp": "2026-02-14T03:10:00.427Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.428 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.429 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "89fc8164-1a93-4c67-b8d0-6cf67ca2efdf", "timestamp": "2026-02-14T03:10:00.427Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.429 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260214_031000.430 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260214_031000.430 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNWI0NTYwODgtYjJlOC00OTQ5LWEyNmQtYWM1ZGViOGMxYzcxIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQzMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260214_031000.430 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.431 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "5b456088-b2e8-4949-a26d-ac5deb8c1c71", "timestamp": "2026-02-14T03:10:00.430Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.431 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260214_031000.431 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}] 20260214_031000.431 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.432 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "5b456088-b2e8-4949-a26d-ac5deb8c1c71", "timestamp": "2026-02-14T03:10:00.430Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.432 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.432 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20260214_031000.432 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjc0Yzc4OWUtYzEzMy00MjRjLTk2OGItODE4OTNmNzkzMDRjIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQzMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.433 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.433 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}}, "policies_event": {"update_id": "b74c789e-c133-424c-968b-81893f79304c", "timestamp": "2026-02-14T03:10:00.432Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.433 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260214_031000.433 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.434 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true} 20260214_031000.434 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.454 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260214_031000.454 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.454 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260214_031000.455 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.455 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.455 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.455 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.462 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.463 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20260214_031000.463 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) 20260214_031000.463 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.468 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.469 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.469 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.470 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMWZkMjBhNDYtMDE5ZS00YTViLWEyNDMtNjEzYTVjZTk2NjBhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQ3MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.470 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "1fd20a46-019e-4a5b-a243-613a5ce9660a", "timestamp": "2026-02-14T03:10:00.470Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.470 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "1fd20a46-019e-4a5b-a243-613a5ce9660a", "timestamp": "2026-02-14T03:10:00.470Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.471 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.471 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "1fd20a46-019e-4a5b-a243-613a5ce9660a", "timestamp": "2026-02-14T03:10:00.470Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.471 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260214_031000.471 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.472 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.472 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "1fd20a46-019e-4a5b-a243-613a5ce9660a", "timestamp": "2026-02-14T03:10:00.470Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.472 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.487 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.488 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.488 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.489 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNmQ5YjUwNjktYWYwOC00MjE4LThjOTEtNGUyMGI2ZGFhNjJiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQ4OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.489 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6d9b5069-af08-4218-8c91-4e20b6daa62b", "timestamp": "2026-02-14T03:10:00.488Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.489 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6d9b5069-af08-4218-8c91-4e20b6daa62b", "timestamp": "2026-02-14T03:10:00.488Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.490 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.490 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6d9b5069-af08-4218-8c91-4e20b6daa62b", "timestamp": "2026-02-14T03:10:00.488Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.490 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260214_031000.491 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260214_031000.491 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTM4ZjMzYTItYTRhMy00YmJjLTk1NzgtOWMyNTNjZmUxY2Q4IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjQ5MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260214_031000.492 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.492 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a38f33a2-a4a3-4bbc-9578-9c253cfe1cd8", "timestamp": "2026-02-14T03:10:00.491Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.493 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a38f33a2-a4a3-4bbc-9578-9c253cfe1cd8", "timestamp": "2026-02-14T03:10:00.491Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.493 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260214_031000.493 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260214_031000.494 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a38f33a2-a4a3-4bbc-9578-9c253cfe1cd8", "timestamp": "2026-02-14T03:10:00.491Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.494 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260214_031000.494 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a38f33a2-a4a3-4bbc-9578-9c253cfe1cd8", "timestamp": "2026-02-14T03:10:00.491Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"} 20260214_031000.494 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.494 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.514 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.515 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.515 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.516 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiM2I4YTFmYjItYzczMS00OGRhLTgxNjQtNDIxNjE3NzFiYjA0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjUxNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.516 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3b8a1fb2-c731-48da-8164-42161771bb04", "timestamp": "2026-02-14T03:10:00.515Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.516 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3b8a1fb2-c731-48da-8164-42161771bb04", "timestamp": "2026-02-14T03:10:00.515Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.517 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.517 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3b8a1fb2-c731-48da-8164-42161771bb04", "timestamp": "2026-02-14T03:10:00.515Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.517 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260214_031000.518 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260214_031000.518 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNTBhNWI3MzktNTg2OC00OWZlLWFlNDctYTFhOGRkYjM3ZGI4IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjUxOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260214_031000.518 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.519 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "50a5b739-5868-49fe-ae47-a1a8ddb37db8", "timestamp": "2026-02-14T03:10:00.518Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.519 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260214_031000.519 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "50a5b739-5868-49fe-ae47-a1a8ddb37db8", "timestamp": "2026-02-14T03:10:00.518Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"} 20260214_031000.519 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.519 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.534 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260214_031000.535 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.535 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260214_031000.535 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.535 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.536 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.536 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.543 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 20260214_031000.543 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.547 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.548 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.548 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.548 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMmRiZGUxODQtZTdkZi00NTkwLThkMTItMzM5YTc3ZDhlYWFiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjU0OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.549 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "2dbde184-e7df-4590-8d12-339a77d8eaab", "timestamp": "2026-02-14T03:10:00.548Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.549 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "2dbde184-e7df-4590-8d12-339a77d8eaab", "timestamp": "2026-02-14T03:10:00.548Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.549 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.549 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}] 20260214_031000.549 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.550 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "2dbde184-e7df-4590-8d12-339a77d8eaab", "timestamp": "2026-02-14T03:10:00.548Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.550 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.550 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20260214_031000.551 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMzFjY2ZmMzUtNjJjMy00ZjQ2LTg4MjMtYjZjY2VhZTllYzMwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjU1MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.551 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.552 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}}, "policies_event": {"update_id": "31ccff35-62c3-4f46-8823-b6cceae9ec30", "timestamp": "2026-02-14T03:10:00.550Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.552 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260214_031000.552 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.552 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true} 20260214_031000.552 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.552 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.553 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.553 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.553 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.568 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 20260214_031000.568 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.571 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.571 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20260214_031000.571 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) 20260214_031000.572 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.576 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.577 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.577 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.577 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNjUzM2Q2YTYtZDk4NC00ZTFiLWJhMWUtMDkxZTcwN2FiMmM1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjU3N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.578 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6533d6a6-d984-4e1b-ba1e-091e707ab2c5", "timestamp": "2026-02-14T03:10:00.577Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.578 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6533d6a6-d984-4e1b-ba1e-091e707ab2c5", "timestamp": "2026-02-14T03:10:00.577Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.578 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.579 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}] 20260214_031000.579 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.579 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "6533d6a6-d984-4e1b-ba1e-091e707ab2c5", "timestamp": "2026-02-14T03:10:00.577Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.579 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.580 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20260214_031000.580 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYmViNGUxMmMtNWY5Mi00YThkLWFiOWItZDlkYzc2MDA5MzFhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjU4MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.580 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.581 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}}, "policies_event": {"update_id": "beb4e12c-5f92-4a8d-ab9b-d9dc7600931a", "timestamp": "2026-02-14T03:10:00.580Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.581 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260214_031000.581 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.581 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true} 20260214_031000.582 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.582 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.582 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.582 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.582 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.598 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.599 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.599 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.600 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMjQ3MjYxZTctMDhiZC00OGZjLWE5ZjctZWViMmQyMjc4NDlkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjYwMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.600 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "247261e7-08bd-48fc-a9f7-eeb2d227849d", "timestamp": "2026-02-14T03:10:00.600Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.601 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "247261e7-08bd-48fc-a9f7-eeb2d227849d", "timestamp": "2026-02-14T03:10:00.600Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.601 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.601 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}] 20260214_031000.601 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.601 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "247261e7-08bd-48fc-a9f7-eeb2d227849d", "timestamp": "2026-02-14T03:10:00.600Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.602 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.602 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20260214_031000.602 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMWJjODhkZjAtMzY3Zi00YzI2LTkwMmMtMzUxM2I0YmVlNWNjIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjYwMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.603 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.603 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}}, "policies_event": {"update_id": "1bc88df0-367f-4c26-902c-3513b4bee5cc", "timestamp": "2026-02-14T03:10:00.602Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.605 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.620 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.620 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.620 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.621 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.621 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260214_031000.621 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260214_031000.621 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.626 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260214_031000.626 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.627 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260214_031000.627 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.627 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.627 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.628 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.635 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.636 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.637 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.637 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjJkODNiYjctOTU1Yi00Nzg1LWJkNDQtYzJhYWQwZThlZTAzIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjYzN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.637 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "b2d83bb7-955b-4785-bd44-c2aad0e8ee03", "timestamp": "2026-02-14T03:10:00.637Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.638 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "b2d83bb7-955b-4785-bd44-c2aad0e8ee03", "timestamp": "2026-02-14T03:10:00.637Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.638 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.638 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.638 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.638 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}, "policy_persistent": true} 20260214_031000.639 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.639 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}, "policy_persistent": true} 20260214_031000.639 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.639 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.639 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260214_031000.639 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.651 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.652 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.652 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.652 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiODgwNWIxNjktNWYxNS00ZDA0LWE1OTAtZWIwZWEwNzFmNDA4IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjY1MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.653 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "8805b169-5f15-4d04-a590-eb0ea071f408", "timestamp": "2026-02-14T03:10:00.652Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.653 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "8805b169-5f15-4d04-a590-eb0ea071f408", "timestamp": "2026-02-14T03:10:00.652Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.653 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.653 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.654 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}] 20260214_031000.654 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "8805b169-5f15-4d04-a590-eb0ea071f408", "timestamp": "2026-02-14T03:10:00.652Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.655 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}}}, removed_policies: ["<<>>"] 20260214_031000.655 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260214_031000.655 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}], "duplicate": []} 20260214_031000.655 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "8805b169-5f15-4d04-a590-eb0ea071f408", "timestamp": "2026-02-14T03:10:00.652Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.656 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "8805b169-5f15-4d04-a590-eb0ea071f408", "timestamp": "2026-02-14T03:10:00.652Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.656 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.656 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.656 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.673 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.674 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.674 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.674 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMDJhYmQ0MTktNjg1ZS00YTVmLTk3YTUtMzY0YzI2OGUwNzZkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjY3NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.675 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "02abd419-685e-4a5f-97a5-364c268e076d", "timestamp": "2026-02-14T03:10:00.674Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.675 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "02abd419-685e-4a5f-97a5-364c268e076d", "timestamp": "2026-02-14T03:10:00.674Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.675 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.676 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "02abd419-685e-4a5f-97a5-364c268e076d", "timestamp": "2026-02-14T03:10:00.674Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.676 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260214_031000.676 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260214_031000.677 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiN2Q0NDcwNzgtMmU2ZS00MjE2LTg2N2EtODkyYzg3NDc5NWViIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjY3N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260214_031000.677 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.678 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7d447078-2e6e-4216-867a-892c874795eb", "timestamp": "2026-02-14T03:10:00.677Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.678 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}] 20260214_031000.678 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.678 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7d447078-2e6e-4216-867a-892c874795eb", "timestamp": "2026-02-14T03:10:00.677Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.679 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.679 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20260214_031000.679 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMDI0MzE0MjItZWE4YS00MTQ1LTgzMmEtMDNhOTAwOWI4ZTJmIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjY3OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.679 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.680 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true}}, "policies_event": {"update_id": "02431422-ea8a-4145-832a-03a9009b8e2f", "timestamp": "2026-02-14T03:10:00.679Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.680 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260214_031000.680 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": false} 20260214_031000.680 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}, "policy_persistent": true} 20260214_031000.681 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.700 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.701 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.701 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.702 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiOTNiMGI3MTUtNzBkZi00MTRmLTkwZDQtN2IxYmRjZDg4YjE1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjcwMVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.702 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "93b0b715-70df-414f-90d4-7b1bdcd88b15", "timestamp": "2026-02-14T03:10:00.701Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.702 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "93b0b715-70df-414f-90d4-7b1bdcd88b15", "timestamp": "2026-02-14T03:10:00.701Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.703 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.703 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "93b0b715-70df-414f-90d4-7b1bdcd88b15", "timestamp": "2026-02-14T03:10:00.701Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.703 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260214_031000.703 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.704 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.704 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "93b0b715-70df-414f-90d4-7b1bdcd88b15", "timestamp": "2026-02-14T03:10:00.701Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.704 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.719 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260214_031000.720 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.720 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.720 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.721 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.721 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.729 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.730 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.730 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.730 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiN2Y2MzlkNTAtMTlkZC00YTc4LThlZWEtYzY0MGQ3YzVlODYwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjczMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.731 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7f639d50-19dd-4a78-8eea-c640d7c5e860", "timestamp": "2026-02-14T03:10:00.730Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.731 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7f639d50-19dd-4a78-8eea-c640d7c5e860", "timestamp": "2026-02-14T03:10:00.730Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.731 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.731 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"]}, "policy_persistent": true}] 20260214_031000.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260214_031000.732 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7f639d50-19dd-4a78-8eea-c640d7c5e860", "timestamp": "2026-02-14T03:10:00.730Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.732 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"]}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260214_031000.733 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}}, "policy_persistent": false}} 20260214_031000.733 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZGIzZDZiZmYtNmJkMy00NTI5LTg1M2MtMjQzOGI0ZjVmMDMzIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjczM1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.733 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"} 20260214_031000.734 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2026-02-14T03:10:00.388Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"]}, "policy_persistent": true}}, "policies_event": {"update_id": "db3d6bff-6bd3-4529-853c-2438b4f5f033", "timestamp": "2026-02-14T03:10:00.733Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.734 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260214_031000.734 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}}, "policy_persistent": false} 20260214_031000.734 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"]}, "policy_persistent": true} 20260214_031000.735 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.735 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.735 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}, "policy_persistent": true} 20260214_031000.735 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260214_031000.735 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.752 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.753 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.753 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.753 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiM2RiZTI5MzAtMmVkOC00ZDI2LTkwODAtOTEyMWI1OGI1NzE1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTAyLTE0VDAzOjEwOjAwLjc1M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwNDoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0xNFQwMzoxMDowMC4zODhaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMTRUMDY6MTA6MDAuMzg4WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260214_031000.754 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3dbe2930-2ed8-4d26-9080-9121b58b5715", "timestamp": "2026-02-14T03:10:00.753Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.754 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3dbe2930-2ed8-4d26-9080-9121b58b5715", "timestamp": "2026-02-14T03:10:00.753Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20260214_031000.754 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260214_031000.754 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.763 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.763 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.763 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.764 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.764 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260214_031000.764 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260214_031000.764 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260214_031000.769 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260214_031000.770 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.770 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260214_031000.770 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260214_031000.770 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"} 20260214_031000.771 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T05:10:00.388Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T04:10:00.388Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T06:10:00.388Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-02-14T07:10:00.388Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-02-14T03:10:00.388Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "package_version": null}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260214_031000.771 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear