20260131_031007.113 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.114 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) 20260131_031007.114 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) 20260131_031007.114 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.118 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260131_031007.118 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.119 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"}}] 20260131_031007.119 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.119 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.119 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.120 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.127 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.128 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.128 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.129 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGI1M2RjNDktN2IxMi00YmFmLTk3ZjAtZjI0MDc2ZWNiOGUyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4xMjlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.129 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b53dc49-7b12-4baf-97f0-f24076ecb8e2", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.129Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.130 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b53dc49-7b12-4baf-97f0-f24076ecb8e2", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.129Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.130 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.130 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b53dc49-7b12-4baf-97f0-f24076ecb8e2", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.129Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.130 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"}}] 20260131_031007.131 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.131 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.131 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b53dc49-7b12-4baf-97f0-f24076ecb8e2", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.129Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.131 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.146 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.147 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.147 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.147 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNmUxNjBkY2YtOTFjMS00Yzg3LWI0NTQtZmNkNjdmNjk4OWQ3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4xNDdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.147 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e160dcf-91c1-4c87-b454-fcd67f6989d7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.147Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.148 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e160dcf-91c1-4c87-b454-fcd67f6989d7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.147Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.148 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.148 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "6e160dcf-91c1-4c87-b454-fcd67f6989d7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.147Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.149 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260131_031007.149 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260131_031007.149 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODliOTVlZjMtNDllYS00YTBmLWIyZWEtNTcxYjA0OGEyNmUxIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjE0OVoifQ==", "Verb": "set"}}] 20260131_031007.150 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.150 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "89b95ef3-49ea-4a0f-b2ea-571b048a26e1", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.149Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.150 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20260131_031007.150 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "89b95ef3-49ea-4a0f-b2ea-571b048a26e1", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.149Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.151 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.151 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.164 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 20260131_031007.164 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.167 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.167 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) 20260131_031007.167 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) 20260131_031007.167 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.172 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.173 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.173 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.173 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTk4MzcyMTQtNzZlMS00Zjc3LThjMTctYjJiMzNlOTRmODIyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4xNzNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.174 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "59837214-76e1-4f77-8c17-b2b33e94f822", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.173Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.174 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "59837214-76e1-4f77-8c17-b2b33e94f822", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.173Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.174 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.175 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "59837214-76e1-4f77-8c17-b2b33e94f822", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.173Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.175 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260131_031007.175 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260131_031007.176 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTI0MGZhNDQtYWFmOC00YmYzLTliNjMtZTg5ZDhjMTg2MTM0IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjE3NloifQ==", "Verb": "set"}}] 20260131_031007.176 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.176 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "a240fa44-aaf8-4bf3-9b63-e89d8c186134", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.176Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.177 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "a240fa44-aaf8-4bf3-9b63-e89d8c186134", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.176Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.177 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260131_031007.177 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260131_031007.178 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "a240fa44-aaf8-4bf3-9b63-e89d8c186134", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.176Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.178 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20260131_031007.178 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "a240fa44-aaf8-4bf3-9b63-e89d8c186134", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.176Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.178 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.178 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.200 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.201 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.201 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.201 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGQ0ZTJlYjgtMjYxMC00ZjYwLTk4OTUtZWNiZmUwZmRlMjhjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4yMDFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.202 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8d4e2eb8-2610-4f60-9895-ecbfe0fde28c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.201Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.202 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8d4e2eb8-2610-4f60-9895-ecbfe0fde28c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.201Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.202 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.202 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "8d4e2eb8-2610-4f60-9895-ecbfe0fde28c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.201Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.203 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260131_031007.203 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260131_031007.203 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOTMxYjc0ZmUtOTMyNS00OWMyLTkwNDEtMjQ2MjU4NWE5ZDg4IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjIwM1oifQ==", "Verb": "set"}}] 20260131_031007.204 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.204 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "931b74fe-9325-49c2-9041-2462585a9d88", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.203Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.204 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.205 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.205 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "931b74fe-9325-49c2-9041-2462585a9d88", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.203Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.205 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.205 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.206 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjdjMmQwZWQtZWFhNi00ZjY1LWFiYjAtYzRmMDQ1MmEwMjYyIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjIwNloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260131_031007.206 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.207 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "27c2d0ed-eaa6-4f65-abb0-c4f0452a0262", "policies_count": 2, "action": "updated", "timestamp": "2026-01-31T03:10:07.206Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.207 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260131_031007.207 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.207 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.207 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.226 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.227 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.228 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.228 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzY4ZGNhYmUtZDEwNi00M2I2LTkyMWEtMjBiYWExNWNmMTBjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4yMjhaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.228 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "c68dcabe-d106-43b6-921a-20baa15cf10c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.228Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.229 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "c68dcabe-d106-43b6-921a-20baa15cf10c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.228Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.229 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.229 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.229 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.230 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies_event": {"update_id": "c68dcabe-d106-43b6-921a-20baa15cf10c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.228Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.230 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.230 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.230 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGE1NmVkYTYtZmNhMS00MGUzLWFiZjgtZWRiYmQ1ZDZiZGZlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjIzMFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260131_031007.231 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.231 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies_event": {"update_id": "8a56eda6-fca1-40e3-abf8-edbbd5d6bdfe", "policies_count": 4, "action": "updated", "timestamp": "2026-01-31T03:10:07.230Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.232 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.233 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.233 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.248 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.249 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.249 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.249 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzU4YTlmZTctY2NiZC00YWM1LWIyMWMtZmZiMzhmYWQxMTU4IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4yNDlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.250 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "758a9fe7-ccbd-4ac5-b21c-ffb38fad1158", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.249Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.250 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "758a9fe7-ccbd-4ac5-b21c-ffb38fad1158", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.249Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.250 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.250 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.250 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.251 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "758a9fe7-ccbd-4ac5-b21c-ffb38fad1158", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.249Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.251 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.251 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.252 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2MxMWQyZTItY2Y3OC00NmFiLTkyOGItOTZhNDczODY0ZWYyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjI1MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260131_031007.252 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.253 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "cc11d2e2-cf78-46ab-928b-96a473864ef2", "policies_count": 4, "action": "updated", "timestamp": "2026-01-31T03:10:07.251Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.253 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260131_031007.253 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.253 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.253 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.253 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.254 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.254 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.254 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.269 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260131_031007.269 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.269 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"}}] 20260131_031007.269 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.270 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.270 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.270 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.278 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260131_031007.278 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.278 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"}}] 20260131_031007.278 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.279 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.279 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.279 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.286 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260131_031007.287 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.287 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.287 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.288 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.288 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.294 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.295 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.295 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.295 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.295 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"} 20260131_031007.295 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.296 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.300 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.301 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.302 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.302 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMzMxMjljOTktMzYwMS00YmFlLTllZTctOGIxY2M4MDNkMjI2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4zMDJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.302 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33129c99-3601-4bae-9ee7-8b1cc803d226", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.302Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.303 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33129c99-3601-4bae-9ee7-8b1cc803d226", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.302Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.303 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.303 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33129c99-3601-4bae-9ee7-8b1cc803d226", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.302Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.304 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"}}] 20260131_031007.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.304 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.304 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33129c99-3601-4bae-9ee7-8b1cc803d226", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.302Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.305 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.318 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.319 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.320 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.320 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2Y1NmY0N2QtMTU3Zi00ZDcwLThiYjEtYTViYjI5ODI0OGY3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4zMjBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.320 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7f56f47d-157f-4d70-8bb1-a5bb298248f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.320Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7f56f47d-157f-4d70-8bb1-a5bb298248f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.320Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.322 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "7f56f47d-157f-4d70-8bb1-a5bb298248f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.320Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.322 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.322 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.322 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTAwMzJlNTEtMmM5My00ZDk4LWJlNGYtMDE0OGQ2ZTBjNWJkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjMyMloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260131_031007.323 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.323 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "50032e51-2c93-4d98-be4f-0148d6e0c5bd", "policies_count": 4, "action": "updated", "timestamp": "2026-01-31T03:10:07.322Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.325 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.339 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 20260131_031007.339 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.343 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260131_031007.344 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.345 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260131_031007.345 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.345 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.345 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.345 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.352 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.352 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260131_031007.353 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.353 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260131_031007.353 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.358 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.358 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.359 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.359 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGMxODkwNTEtOWJhNC00N2UzLWI2YWItM2Y2NWE1NWY4OTFjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4zNTlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.359 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dc189051-9ba4-47e3-b6ab-3f65a55f891c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.359Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dc189051-9ba4-47e3-b6ab-3f65a55f891c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.359Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.360 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.361 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.361 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.361 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260131_031007.361 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260131_031007.361 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.371 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260131_031007.372 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.372 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"}}] 20260131_031007.372 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.372 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.373 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.373 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.379 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.380 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.380 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.380 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.380 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "service_component_name": "unit_test_scn"} 20260131_031007.380 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.381 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.386 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.386 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.387 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.387 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjE1MzM0NDktMTI5NS00YzExLWE1MjEtMzhiOGY5YjA5OTFhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4zODdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.387 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "21533449-1295-4c11-a521-38b8f9b0991a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.387Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.388 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "21533449-1295-4c11-a521-38b8f9b0991a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.387Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.388 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.388 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.388 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}] 20260131_031007.389 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "21533449-1295-4c11-a521-38b8f9b0991a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.387Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.389 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260131_031007.389 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.390 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach"}], "duplicate": [], "ignored": [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}], "unexpected": [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}]} 20260131_031007.390 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "21533449-1295-4c11-a521-38b8f9b0991a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.387Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.390 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies_event": {"update_id": "21533449-1295-4c11-a521-38b8f9b0991a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.387Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.390 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.391 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.391 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.407 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.408 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.409 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.409 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGI3ODk3M2UtZDhjNS00YTc2LWIxY2UtYzZkYTM2YTc5YjA3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy40MDlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.409 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "db78973e-d8c5-4a76-b1ce-c6da36a79b07", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.409Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.410 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "db78973e-d8c5-4a76-b1ce-c6da36a79b07", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.409Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.410 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.410 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.419 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.420 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.421 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.421 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjgzZmY3ZjEtMGVkZi00ZjZhLTkzMDctMTZjZWViNzk4YzlhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy40MjFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.421 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b83ff7f1-0edf-4f6a-9307-16ceeb798c9a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.421Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.422 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b83ff7f1-0edf-4f6a-9307-16ceeb798c9a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.421Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.422 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.422 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "b83ff7f1-0edf-4f6a-9307-16ceeb798c9a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.421Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.423 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260131_031007.423 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260131_031007.423 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2M5ZGQ2YjEtYzE2My00YzY2LWI2MTgtNzVkYjA3YTM0ZWJhIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjQyM1oifQ==", "Verb": "set"}}] 20260131_031007.424 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.424 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "cc9dd6b1-c163-4c66-b618-75db07a34eba", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.423Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.424 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.424 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.425 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.425 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "cc9dd6b1-c163-4c66-b618-75db07a34eba", "policies_count": 0, "action": "updated", "timestamp": "2026-01-31T03:10:07.423Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.425 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.425 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.426 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiM2VjYjQ5NDQtYzVjNi00Nzc2LWEzMTEtMDk3MWI3YzE0OTg1IiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjQyNVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260131_031007.426 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.426 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "3ecb4944-c5c6-4776-a311-0971b7c14985", "policies_count": 2, "action": "updated", "timestamp": "2026-01-31T03:10:07.425Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.427 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260131_031007.427 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.427 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.427 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260131_031007.447 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.448 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260131_031007.449 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.449 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNGI4MDkwZDctYjZlZi00NTQ3LTljOTgtNzljNmFkODgzYmY2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy40NDlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNDoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260131_031007.449 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4b8090d7-b6ef-4547-9c98-79c6ad883bf6", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.449Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.450 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4b8090d7-b6ef-4547-9c98-79c6ad883bf6", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.449Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}} 20260131_031007.450 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260131_031007.450 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260131_031007.450 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260131_031007.451 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "4b8090d7-b6ef-4547-9c98-79c6ad883bf6", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-31T03:10:07.449Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.451 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260131_031007.451 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260131_031007.451 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGZlNDRiZjUtN2Y0Mi00NDIxLWJkZjMtNjg5NzI2NjAxODQ3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTMxVDAzOjEwOjA3LjQ1MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwMzoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0zMVQwNjoxMDowNy4wOTFaIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTMxVDA0OjEwOjA3LjA5MVoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260131_031007.452 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"} 20260131_031007.452 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "id": "test_ms_name", "name": "test_ms_name"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "dfe44bf5-7f42-4421-bdf3-689726601847", "policies_count": 4, "action": "updated", "timestamp": "2026-01-31T03:10:07.451Z"}, "policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T05:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T07:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "workflow_id": null, "execution_id": "test_dcae_policy_exe_id"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-31T04:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-31T03:10:07.091Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260131_031007.453 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-31T06:10:07.091Z"}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260131_031007.454 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear