20251227_031027.373 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251227_031027.374 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.374 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251227_031027.374 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.374 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.374 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.375 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.381 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.382 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.382 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.383 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOTFmMTgzNzUtODBhNS00MjVhLWE0MjktYzEyMDI1ODdkZDdjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjM4MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.383 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "91f18375-80a5-425a-a429-c1202587dd7c", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.382Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.384 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "91f18375-80a5-425a-a429-c1202587dd7c", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.382Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.384 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.384 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "91f18375-80a5-425a-a429-c1202587dd7c", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.382Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.384 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251227_031027.385 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.385 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.385 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "91f18375-80a5-425a-a429-c1202587dd7c", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.382Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.385 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.401 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.401 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251227_031027.401 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.402 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251227_031027.402 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.405 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.406 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.406 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.406 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.406 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20251227_031027.406 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251227_031027.406 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.411 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.412 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.413 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.413 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGVjNGU1MTktNWU2OS00NzI1LWFhMzUtYWU1YzY2MjRlOTc1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQxM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.413 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8ec4e519-5e69-4725-aa35-ae5c6624e975", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.413Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.414 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8ec4e519-5e69-4725-aa35-ae5c6624e975", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.413Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.414 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.414 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8ec4e519-5e69-4725-aa35-ae5c6624e975", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.413Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.414 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20251227_031027.415 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251227_031027.415 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTJiYWJkMzYtNGE2Mi00OGNjLWIxZDItMTE4MDg3NDhkZDA0IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQxNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251227_031027.416 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.416 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "12babd36-4a62-48cc-b1d2-11808748dd04", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.415Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.416 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20251227_031027.416 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "12babd36-4a62-48cc-b1d2-11808748dd04", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.415Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.417 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.417 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.430 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 20251227_031027.430 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.433 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.434 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) 20251227_031027.434 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) 20251227_031027.434 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.439 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.440 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.440 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.441 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGU1Y2QzY2QtMmFiNC00Nzg4LTkxZTUtYzIzMGQ1OWQ1YjMwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQ0MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.441 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "de5cd3cd-2ab4-4788-91e5-c230d59d5b30", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.440Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.441 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "de5cd3cd-2ab4-4788-91e5-c230d59d5b30", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.440Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.442 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.443 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.443 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false} 20251227_031027.443 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.453 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.454 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.454 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.455 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzdhYzhhYjEtNjM1Yi00ZjY1LTlhN2EtYWVmYjY3MzQwMjI0IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQ1NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.455 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "77ac8ab1-635b-4f65-9a7a-aefb67340224", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.454Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.455 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "77ac8ab1-635b-4f65-9a7a-aefb67340224", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.454Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.456 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.456 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.456 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.456 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "77ac8ab1-635b-4f65-9a7a-aefb67340224", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.454Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.457 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.457 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.457 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTFkMTdmNWQtNzA0ZC00ZDYzLWJmMTMtOWZlOGVhMjg4NmI5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQ1N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251227_031027.458 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.458 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "11d17f5d-704d-4d63-bf13-9fe8ea2886b9", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.457Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.458 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251227_031027.458 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.459 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.459 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.459 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20251227_031027.459 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.459 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.459 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.474 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251227_031027.475 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.475 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251227_031027.475 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.476 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.476 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.476 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.484 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.485 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.485 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.485 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2JhZjQ3ZjEtNGZlNy00Y2Y5LWFhOWItZWUwODUzOTE4MWFlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQ4NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.486 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "cbaf47f1-4fe7-4cf9-aa9b-ee08539181ae", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.485Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.486 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "cbaf47f1-4fe7-4cf9-aa9b-ee08539181ae", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.485Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.486 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.486 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.487 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.487 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "cbaf47f1-4fe7-4cf9-aa9b-ee08539181ae", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.485Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.487 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.488 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.488 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODU4NGJkY2ItMzBjYy00ZjI4LWIwYTktMTA3ODhhZDIxZGUwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjQ4OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251227_031027.488 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.489 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "8584bdcb-30cc-4f28-b0a9-10788ad21de0", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.488Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.489 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251227_031027.489 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.489 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.490 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.490 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20251227_031027.490 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.490 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.490 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.506 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.507 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.507 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.507 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzBiZjk4NTctMmEyZC00ZmZlLWIzZDItZTAwNzI5ZmMzMzFkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjUwN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.508 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "c0bf9857-2a2d-4ffe-b3d2-e00729fc331d", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.507Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.508 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "c0bf9857-2a2d-4ffe-b3d2-e00729fc331d", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.507Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.508 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.508 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.518 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.519 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.519 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.519 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMWIzNjg3YjAtMmU5MS00MDQ1LWI1NzktNzQ5ZGQwNzdmNzQ2IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjUxOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.520 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1b3687b0-2e91-4045-b579-749dd077f746", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.519Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.520 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1b3687b0-2e91-4045-b579-749dd077f746", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.519Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.520 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.521 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1b3687b0-2e91-4045-b579-749dd077f746", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.519Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.521 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20251227_031027.521 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251227_031027.521 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjc4NjM4NjMtOTNkMi00NjkzLThhZmItMjM0MjQ3NDBhNzQwIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjUyMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251227_031027.522 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.522 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "b7863863-93d2-4693-8afb-23424740a740", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.521Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.523 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.523 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.523 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "b7863863-93d2-4693-8afb-23424740a740", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.521Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.523 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.523 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.524 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMmQyZDI0ZTctYzRhNS00OGY1LThkNjYtYjhiMGYxNDFmNTExIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjUyNFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251227_031027.524 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.525 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "2d2d24e7-c4a5-48f5-8d66-b8b0f141f511", "policies_count": 2, "timestamp": "2025-12-27T03:10:27.524Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.525 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251227_031027.525 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.525 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.525 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.544 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251227_031027.545 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.545 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.545 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.546 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.546 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.554 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.555 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.555 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.555 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMWViOTkwNWUtNTM5OS00MDMyLTljZTgtMjUyY2YxNDBmN2I2IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjU1NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.556 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1eb9905e-5399-4032-9ce8-252cf140f7b6", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.555Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.556 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1eb9905e-5399-4032-9ce8-252cf140f7b6", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.555Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.556 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.556 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.556 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.557 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "1eb9905e-5399-4032-9ce8-252cf140f7b6", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.555Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.557 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.557 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.558 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjJiNTFlMTYtZWY3ZC00ODA0LWJhYTQtNjVjMzI0ODhjOGNhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjU1N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20251227_031027.558 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.558 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "22b51e16-ef7d-4804-baa4-65c32488c8ca", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.557Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251227_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20251227_031027.560 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.560 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.560 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.574 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.575 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) 20251227_031027.575 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) 20251227_031027.575 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.579 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.580 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.580 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.581 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjg5NTAzZWItNDE1My00NTU3LTgzMGItNWQ3YTE4ZDYyMjMxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjU4MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.581 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "689503eb-4153-4557-830b-5d7a18d62231", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.580Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.581 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "689503eb-4153-4557-830b-5d7a18d62231", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.580Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.582 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.582 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "689503eb-4153-4557-830b-5d7a18d62231", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.580Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.582 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251227_031027.582 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.582 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.583 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "689503eb-4153-4557-830b-5d7a18d62231", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.580Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.583 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.597 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251227_031027.598 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.598 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251227_031027.598 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.598 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.598 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.599 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.608 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.608 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.609 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.609 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjQ4M2Y0MmItNWJhZS00Zjc0LTg1YzItY2IyYTBkY2VkZjE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjYwOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.609 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "2483f42b-5bae-4f74-85c2-cb2a0dcedf17", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.609Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.610 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "2483f42b-5bae-4f74-85c2-cb2a0dcedf17", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.609Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.610 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.610 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.610 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}] 20251227_031027.611 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "2483f42b-5bae-4f74-85c2-cb2a0dcedf17", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.609Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.611 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}}}}, removed_policies: ["<<>>"] 20251227_031027.611 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}} 20251227_031027.612 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}]} 20251227_031027.612 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "2483f42b-5bae-4f74-85c2-cb2a0dcedf17", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.609Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.612 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "2483f42b-5bae-4f74-85c2-cb2a0dcedf17", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.609Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.612 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.613 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.613 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.628 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.628 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.628 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.629 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.629 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20251227_031027.629 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251227_031027.629 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.633 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 20251227_031027.633 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.637 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.638 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.638 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.638 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOWUwMzhlNTMtYmFmZC00OWUzLTgyZjItZjljN2UyMDQ2NGViIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjYzOFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.639 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9e038e53-bafd-49e3-82f2-f9c7e20464eb", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.638Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.639 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9e038e53-bafd-49e3-82f2-f9c7e20464eb", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.638Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.639 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.640 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9e038e53-bafd-49e3-82f2-f9c7e20464eb", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.638Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.640 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20251227_031027.640 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251227_031027.641 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTk0MjFjZWQtOGJkOS00ZDkyLWI4N2YtMzFiMDM0ZjNlZTU4IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjY0MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251227_031027.641 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.641 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "19421ced-8bd9-4d92-b87f-31b034f3ee58", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.641Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.642 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "19421ced-8bd9-4d92-b87f-31b034f3ee58", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.641Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.642 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20251227_031027.642 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251227_031027.643 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "19421ced-8bd9-4d92-b87f-31b034f3ee58", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.641Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20251227_031027.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "19421ced-8bd9-4d92-b87f-31b034f3ee58", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.641Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.643 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.662 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.663 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.663 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.663 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjg2YWNhNGMtZDA1Ny00MzE5LTg5NmYtN2ZlYTE1MWUxMzM1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjY2M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.664 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "686aca4c-d057-4319-896f-7fea151e1335", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.663Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.664 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "686aca4c-d057-4319-896f-7fea151e1335", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.663Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.664 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.665 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "686aca4c-d057-4319-896f-7fea151e1335", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.663Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.665 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20251227_031027.665 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251227_031027.666 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWExZGIyNzEtODE0Yy00MTkwLTk5ZjEtMzViNzQ2NTA2MTNmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjY2NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251227_031027.666 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.666 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "aa1db271-814c-4190-99f1-35b74650613f", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.665Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.667 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20251227_031027.667 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.667 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.667 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "aa1db271-814c-4190-99f1-35b74650613f", "policies_count": 0, "timestamp": "2025-12-27T03:10:27.665Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.668 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.668 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.668 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDJiZDAzMzItM2FhNi00MmNjLWE5OTEtNzQ0ODJmM2QxODBkIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjY2OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251227_031027.668 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.669 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "d2bd0332-3aa6-42cc-a991-74482f3d180d", "policies_count": 2, "timestamp": "2025-12-27T03:10:27.668Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.669 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251227_031027.669 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.669 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.670 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.689 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251227_031027.689 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.690 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251227_031027.690 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.690 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.690 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.690 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.698 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.699 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.699 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.700 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGU4NGViMWYtZWFmMy00NDY1LWJmNDctNDA5ZjQ5OGE4OTAyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjcwMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwNjoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20251227_031027.700 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "de84eb1f-eaf3-4465-bf47-409f498a8902", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.700Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.700 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "de84eb1f-eaf3-4465-bf47-409f498a8902", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.700Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20251227_031027.701 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20251227_031027.701 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20251227_031027.701 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251227_031027.701 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "de84eb1f-eaf3-4465-bf47-409f498a8902", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.700Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.702 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251227_031027.702 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20251227_031027.702 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjU1MjJmZjItZGFhMy00NmVmLWIyNjMtZWE5ZjYwNjY5ZjM1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTEyLTI3VDAzOjEwOjI3LjcwMloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0yN1QwMzoxMDoyNy4zNDlaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEyLTI3VDA2OjEwOjI3LjM0OVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMjdUMDQ6MTA6MjcuMzQ5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251227_031027.703 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.703 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "b5522ff2-daa3-46ef-b263-ea9f60669f35", "policies_count": 4, "timestamp": "2025-12-27T03:10:27.702Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.703 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20251227_031027.704 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20251227_031027.704 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251227_031027.720 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251227_031027.720 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.721 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251227_031027.721 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251227_031027.721 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20251227_031027.721 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2025-12-27T05:10:27.349Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-12-27T04:10:27.349Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-12-27T06:10:27.349Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2025-12-27T07:10:27.349Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-27T03:10:27.349Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-12-27T03:10:27.349Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20251227_031027.721 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear