20260103_031004.963 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260103_031004.964 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.964 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260103_031004.964 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031004.964 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031004.965 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.965 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031004.970 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.970 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260103_031004.970 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.971 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260103_031004.971 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031004.976 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.977 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031004.977 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031004.978 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGYwNDBlYTItZjVkOS00ZmRkLTlkZjMtYWU4MjY2NTY3ZGQzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNC45NzdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031004.978 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "df040ea2-f5d9-4fdd-9df3-ae8266567dd3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:04.977Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.978 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "df040ea2-f5d9-4fdd-9df3-ae8266567dd3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:04.977Z"}} 20260103_031004.978 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031004.979 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "df040ea2-f5d9-4fdd-9df3-ae8266567dd3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:04.977Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.979 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260103_031004.979 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031004.979 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031004.980 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "df040ea2-f5d9-4fdd-9df3-ae8266567dd3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:04.977Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.980 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031004.995 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260103_031004.996 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.996 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031004.996 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031004.996 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031004.997 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.004 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260103_031005.005 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.005 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260103_031005.005 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.006 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.006 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.006 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.016 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.017 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.017 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.017 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjcwNWE0M2QtNmEwYS00YzQzLThjMzctNDc0OWQ3OTZlOTJkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4wMTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.018 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2705a43d-6a0a-4c43-8c37-4749d796e92d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.017Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.018 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2705a43d-6a0a-4c43-8c37-4749d796e92d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.017Z"}} 20260103_031005.018 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.018 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.019 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.019 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2705a43d-6a0a-4c43-8c37-4749d796e92d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.017Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.019 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.020 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.020 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNmZkODgwNGItMjU3Ni00Njg4LWIxNWItZTZjNTM1YWJjMTFiIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjAyMFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.020 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.021 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6fd8804b-2576-4688-b15b-e6c535abc11b", "policies_count": 4, "action": "updated", "timestamp": "2026-01-03T03:10:05.020Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.021 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260103_031005.021 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.021 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.022 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.022 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.022 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.022 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.022 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.039 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.039 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.039 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.040 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.040 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260103_031005.040 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260103_031005.040 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.045 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260103_031005.045 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.046 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260103_031005.046 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.046 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.046 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.047 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.059 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260103_031005.061 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.061 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260103_031005.062 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.062 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.063 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.063 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.074 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 20260103_031005.074 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.077 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.077 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) 20260103_031005.078 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) 20260103_031005.078 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.082 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.083 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.083 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.084 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTEwMjUwYWQtMjc4NC00MmNhLWIzY2ItNTEyNWE5OThiNjhjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4wODNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.084 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e10250ad-2784-42ca-b3cb-5125a998b68c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.083Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.084 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e10250ad-2784-42ca-b3cb-5125a998b68c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.083Z"}} 20260103_031005.085 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.085 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.085 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.085 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e10250ad-2784-42ca-b3cb-5125a998b68c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.083Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.086 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.086 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.086 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDk5M2MwZjctNDgxZi00MzcxLWIxOWMtYmZmNDBiNGUyYzQxIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjA4NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.087 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.087 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "0993c0f7-481f-4371-b19c-bff40b4e2c41", "policies_count": 4, "action": "updated", "timestamp": "2026-01-03T03:10:05.086Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.087 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260103_031005.087 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.088 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.088 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.088 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.088 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.088 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.088 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.103 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 20260103_031005.103 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.107 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.108 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.108 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.108 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDU5ZWI0NmUtZjA2YS00ZjM4LTkwNmQtMTVmMjY1MWU1MGM4IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4xMDhaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.109 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d59eb46e-f06a-4f38-906d-15f2651e50c8", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.108Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.109 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d59eb46e-f06a-4f38-906d-15f2651e50c8", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.108Z"}} 20260103_031005.109 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.109 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.110 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}] 20260103_031005.110 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d59eb46e-f06a-4f38-906d-15f2651e50c8", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.108Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.110 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260103_031005.111 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}} 20260103_031005.111 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "unexpected": [{"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}]} 20260103_031005.111 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d59eb46e-f06a-4f38-906d-15f2651e50c8", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.108Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.111 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d59eb46e-f06a-4f38-906d-15f2651e50c8", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.108Z"}} 20260103_031005.112 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.112 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.112 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.128 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260103_031005.129 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.129 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260103_031005.129 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.129 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.130 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.130 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.137 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.137 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.137 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.137 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.137 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260103_031005.138 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260103_031005.138 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.143 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.144 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.144 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.144 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZmVjMzVhMDQtYzE4NC00OGNkLTg2MDYtOTI1OTI5YmE2MGJkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4xNDRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.145 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "fec35a04-c184-48cd-8606-925929ba60bd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.144Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.145 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "fec35a04-c184-48cd-8606-925929ba60bd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.144Z"}} 20260103_031005.145 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.145 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "fec35a04-c184-48cd-8606-925929ba60bd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.144Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.146 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260103_031005.146 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260103_031005.146 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTEyNTI0NTQtYTIzYi00ZjdhLTgzOTUtNWFlZjU4ODI2MGMxIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjE0NloifQ==", "Verb": "set"}}] 20260103_031005.147 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.147 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a1252454-a23b-4f7a-8395-5aef588260c1", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.146Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.147 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.148 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.148 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.148 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a1252454-a23b-4f7a-8395-5aef588260c1", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.146Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.148 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.148 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.149 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMmU4MDdlYjUtN2YwMi00ZDY5LWI2YTctMmVmNzA3NzFiMzczIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjE0OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}] 20260103_031005.149 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.150 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2e807eb5-7f02-4d69-b6a7-2ef70771b373", "policies_count": 2, "action": "updated", "timestamp": "2026-01-03T03:10:05.149Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.150 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260103_031005.150 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.150 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.150 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.170 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.171 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.172 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.172 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjliNzRkYWEtNWIzNC00Nzg0LTgzYWUtNzlhMjExOTAyNDAzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4xNzJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.172 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "f9b74daa-5b34-4784-83ae-79a211902403", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.172Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.173 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "f9b74daa-5b34-4784-83ae-79a211902403", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.172Z"}} 20260103_031005.173 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.173 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.183 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.183 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.184 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.185 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWQ1MTc5ZGEtYjAyZC00MDYwLTk1YjgtNWJiNDU1YzliNTcwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4xODRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.186 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ad5179da-b02d-4060-95b8-5bb455c9b570", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.184Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.186 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ad5179da-b02d-4060-95b8-5bb455c9b570", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.184Z"}} 20260103_031005.186 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.186 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ad5179da-b02d-4060-95b8-5bb455c9b570", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.184Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.187 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260103_031005.187 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260103_031005.187 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODExY2Q0MTctZTY3MC00NzRmLWEyMDEtZGQ1YWMwNjk3MTc2IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjE4N1oifQ==", "Verb": "set"}}] 20260103_031005.188 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.188 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "811cd417-e670-474f-a201-dd5ac0697176", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.187Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.188 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260103_031005.188 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "811cd417-e670-474f-a201-dd5ac0697176", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.187Z"}} 20260103_031005.189 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.189 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.203 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.204 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.205 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.205 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzliYTQ5YzMtMzI4ZS00ODMxLWIwZmUtYzAyYTA2NjY4MWViIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4yMDVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.205 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "79ba49c3-328e-4831-b0fe-c02a066681eb", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.205Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.206 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "79ba49c3-328e-4831-b0fe-c02a066681eb", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.205Z"}} 20260103_031005.206 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.206 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.206 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.207 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "79ba49c3-328e-4831-b0fe-c02a066681eb", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.205Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.207 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.207 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.207 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjU4ZGE3MmItOTI4OC00Y2M1LWIzMmUtYjA2ODkwYTQ0OGU1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjIwN1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.209 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.209 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "258da72b-9288-4cc5-b32e-b06890a448e5", "policies_count": 4, "action": "updated", "timestamp": "2026-01-03T03:10:05.207Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.210 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.211 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.211 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.226 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.227 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.227 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.228 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjFhNWIzZGMtNzgxZC00YWIwLTkyMjItMjM4YWIxMzkwZDE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4yMjdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.228 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "b1a5b3dc-781d-4ab0-9222-238ab1390d17", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.227Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.228 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "b1a5b3dc-781d-4ab0-9222-238ab1390d17", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.227Z"}} 20260103_031005.229 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.229 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "b1a5b3dc-781d-4ab0-9222-238ab1390d17", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.227Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.229 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260103_031005.229 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.230 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.230 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "b1a5b3dc-781d-4ab0-9222-238ab1390d17", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.227Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.230 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.244 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.245 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.246 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.246 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjc0ZmYwOWMtZjJjYi00YjBkLWI4NGYtM2Q3MDljMTc3MjA1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4yNDZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.246 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "674ff09c-f2cb-4b0d-b84f-3d709c177205", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.246Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.247 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "674ff09c-f2cb-4b0d-b84f-3d709c177205", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.246Z"}} 20260103_031005.247 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.247 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.247 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.247 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.248 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.248 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.248 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.248 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260103_031005.248 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260103_031005.248 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.258 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.258 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) 20260103_031005.258 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) 20260103_031005.258 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.262 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.263 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.264 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.264 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODYwNzJlZGUtNzQ5OS00ZDg2LWExNjgtMDM3ZWI0YTkzODkzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4yNjRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.264 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "86072ede-7499-4d86-a168-037eb4a93893", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.264Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "86072ede-7499-4d86-a168-037eb4a93893", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.264Z"}} 20260103_031005.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.265 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "86072ede-7499-4d86-a168-037eb4a93893", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.264Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.265 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260103_031005.266 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260103_031005.266 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjg1NWNjZmMtYTg0YS00NmJiLWJjOGEtZjc3Y2ZhOGY0ZjYwIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjI2NloifQ==", "Verb": "set"}}] 20260103_031005.266 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.267 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6855ccfc-a84a-46bb-bc8a-f77cfa8f4f60", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.266Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.267 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6855ccfc-a84a-46bb-bc8a-f77cfa8f4f60", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.266Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.268 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260103_031005.268 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260103_031005.268 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6855ccfc-a84a-46bb-bc8a-f77cfa8f4f60", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.266Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.268 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260103_031005.268 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6855ccfc-a84a-46bb-bc8a-f77cfa8f4f60", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.266Z"}} 20260103_031005.269 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.269 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.288 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.289 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.289 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.289 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWU1MzZlYzgtZGUzNy00OTZkLThjYjMtNmIwMzBmN2I5YTQyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4yODlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.290 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ae536ec8-de37-496d-8cb3-6b030f7b9a42", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.289Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.290 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ae536ec8-de37-496d-8cb3-6b030f7b9a42", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.289Z"}} 20260103_031005.290 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.291 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "ae536ec8-de37-496d-8cb3-6b030f7b9a42", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.289Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.291 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260103_031005.291 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260103_031005.292 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWJkZGJhNjktZTE2Yi00NGZmLWI5YmMtZWJiMDZiNjAwMmZlIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjI5MVoifQ==", "Verb": "set"}}] 20260103_031005.292 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.292 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "abddba69-e16b-44ff-b9bc-ebb06b6002fe", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.291Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.293 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.293 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.293 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "abddba69-e16b-44ff-b9bc-ebb06b6002fe", "policies_count": 0, "action": "updated", "timestamp": "2026-01-03T03:10:05.291Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.293 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.294 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.294 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzk3NzgxYWEtNjljZi00NDgwLThmOWYtZjAzOGU3OGMzOTdiIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjI5NFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}] 20260103_031005.294 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.295 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "797781aa-69cf-4480-8f9f-f038e78c397b", "policies_count": 2, "action": "updated", "timestamp": "2026-01-03T03:10:05.294Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.295 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260103_031005.295 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.295 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.295 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260103_031005.315 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.316 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260103_031005.317 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"} 20260103_031005.317 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2ViZDhiZTQtODFiNi00YjAzLWEyY2MtMjE1N2QyY2Y0ODMzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0wM1QwMzoxMDowNS4zMTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDQ6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.317 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7ebd8be4-81b6-4b03-a2cc-2157d2cf4833", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.317Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.318 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7ebd8be4-81b6-4b03-a2cc-2157d2cf4833", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.317Z"}} 20260103_031005.318 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260103_031005.318 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260103_031005.318 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260103_031005.319 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T04:10:04.937Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7ebd8be4-81b6-4b03-a2cc-2157d2cf4833", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-03T03:10:05.317Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.319 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260103_031005.319 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260103_031005.319 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGE0ZDRlMjItN2Y4OC00OWQ1LWFjYTMtZDZjZjllZDllMTRiIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTAzVDAzOjEwOjA1LjMxOVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDY6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0wM1QwNDoxMDowNC45MzdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMDNUMDM6MTA6MDQuOTM3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20260103_031005.320 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20260103_031005.320 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T05:10:04.937Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T06:10:04.937Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-03T07:10:04.937Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "8a4d4e22-7f88-49d5-aca3-d6cf9ed9e14b", "policies_count": 4, "action": "updated", "timestamp": "2026-01-03T03:10:05.319Z"}}}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "workflow_id": null, "type": "node-instance", "task_target": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}} 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-03T04:10:04.937Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T03:10:04.937Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.321 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-03T03:10:04.937Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260103_031005.322 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-01-03T06:10:04.937Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260103_031005.322 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear